clipboardData

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
wje123
Posts: 5
Joined: Wed May 27, 2009 2:19 pm

clipboardData

Post by wje123 » Tue May 17, 2011 3:08 pm

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

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: clipboardData

Post by bangkok » Tue May 17, 2011 4:01 pm

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

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: clipboardData

Post by bangkok » Tue May 17, 2011 4:05 pm

put the ClipBoardData["text"]

is working for me with :

LiveCode 4.6.1
Acrobat Reader 8.0

Post Reply