View Full Version : access clipboard - paste in particular!

02-03-2004, 02:11 PM
Ive written a key capture event that captures the "CTRL+V" (paste)

I am pasting the text to an iFrame in design mode, but before it is pasted to screen I need to remove the formatting...

I have all the function for removing formatting, eg: HTML elements etc... but I really need to know if its possible to access the clipboard

its going to be used in IE 5.5 and higher if that helps...

my function is this


//get the contents of the clipboard
//remove the formatting
//paste the contents of formatted clipboard to the iFrame


any one know how??
I tried using

tmp = iView.execCommand("paste","",null);

but that just returned "true" as the value of tmp!!