Page 1 of 1

clipboardData

Posted: Tue May 17, 2011 3:08 pm
by wje123
I just upgraded to 4.6.1 (from 4.5) and this command no longer returns anything for text copied from a PDF:

put the clipboardData["text"] into me

I use this function to copy data from PDF files into a field.
All was fine before upgrade.
Work around is to paste-special-unformatted into MS Word and then copy/paste into field.

Any suggestions would be appreciated.

Thanks

Re: clipboardData

Posted: Tue May 17, 2011 4:01 pm
by bangkok
Have you tried to use other Clipboard Array ?

Code: Select all

put the clipboardData["html"] into me
LIST :
unicode - plain text in UTF-16 encoded using host byte order
styles - styled text in LiveCode internal styled-text format
html - styled text in LiveCode HTML format
rtf - styled text in LiveCode RTF format
image - the 'text' of an image object, i.e. binary data in PNG, GIF or JPEG format

Re: clipboardData

Posted: Tue May 17, 2011 4:05 pm
by bangkok
put the ClipBoardData["text"]

is working for me with :

LiveCode 4.6.1
Acrobat Reader 8.0