Pasting to a field from Internet Explorer 8

2012-08-29 Thread dfepstein


I have for a long time pasted text copied from other programs to a field by 
using a script like 
set the htmlText of [destination chunk] to clipboardData[html] 
After a recent upgrade to Windows 7 and Internet Explorer 8 this does not work 
for text copied from Internet Explorer; pasting yields a few commas or dashes 
instead.  If I first paste that text to Notepad, then select and copy it again, 
my script pastes correctly.  [this is in Rev Media 2.9] 
Does anyone have the same problem or a remedy? 

Many thanks. 

David Epstein 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Pasting to a field from Internet Explorer 8

2012-08-29 Thread Bob Sneidar
I've run into similar clipboard weirdnesses with the Livecode clipboard. Go 
figure. Someone wrote a Clipboard Inspector stack that may prove useful in 
finding out where things are going wrong. Also note, that Microsoft products, 
specifically Office products use their own clipboard format that may be 
incompatible (at present) with the Livecode clipboard. It is my understanding 
that a translation should take place when switching from a MS app to other 
foreign apps, and in the case of LC, I suspect the translation is not taking 
place. 

Bob


On Aug 29, 2012, at 10:53 AM, dfepst...@comcast.net wrote:

 
 
 I have for a long time pasted text copied from other programs to a field by 
 using a script like 
 set the htmlText of [destination chunk] to clipboardData[html] 
 After a recent upgrade to Windows 7 and Internet Explorer 8 this does not 
 work for text copied from Internet Explorer; pasting yields a few commas or 
 dashes instead.  If I first paste that text to Notepad, then select and copy 
 it again, my script pastes correctly.  [this is in Rev Media 2.9] 
 Does anyone have the same problem or a remedy? 
 
 Many thanks. 
 
 David Epstein 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode