Paste image from clipboard

Alejandro Tejada capellan2000 at yahoo.com
Sun Jan 11 04:35:07 EST 2004


Hi Developers,

I have been pasting images in MC/RR and
i have got some mixed results with one
handler that will like you confirm.

1) Copy the file of a jpg image in windows
explorer. The clipboard now has the path to the 
image: "C://Documents//MyImage.jpg"

Notice, the function the clipboard in MC reports 
the clipboard as empty, but the function the 
clipboarddata returns the path of the image.

write in message box:

put the clipboarddata

and you effectively get the path to the image

Now, write in the message box:

put "binfile:" & the clipboarddata into zxcv
set the customProperty01 of the topstack to url zxcv
create image
set the text of it to the customProperty01 of the
topstack

Now, this code works sometimes, others no.

Could you confirm this on your machines?

Thanks in advance.

al

=====
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


More information about the use-livecode mailing list