0

I want to retrieve the RTF content from the Clipboard(Orginating from MSWord). Is it possible to retrieve it using javascript / JQuery methods?

user534637
  • 11
  • 1

1 Answers1

0

In general, no. You can only get it if the user triggers a paste. WebKit provides a means to access the clipboard during a paste event and IE provides a clipboardData object that sometimes allows this (depending on the security settings) but that's it.

You can use a hack to effectively redirect a user paste into an off-screen element. See my answer here: JavaScript get clipboard data on paste event (Cross browser)

Community
  • 1
  • 1
Tim Down
  • 292,637
  • 67
  • 429
  • 506