Copy images

Sue Smith coolsnowlime at yahoo.com
Sun Sep 3 18:27:23 EDT 2006


It worked perfectly with my png files. - Sue

Begin forwarded message:

From: Howard Bornstein <howard.bornstein at gmail.com>
Date: September 3, 2006 2:25:42 PM EDT
To: Gordon Tillman <got at mindspring.com>
Cc: How to use Revolution <use-revolution at lists.runrev.com>
Subject: Re: Copy images
Reply-To: bornstein at designeq.com, How to use Revolution <use-revolution at lists.runrev.com>

On 9/3/06, Gordon Tillman <got at mindspring.com> wrote:

I just tried this and it worked:

put "binfile:" &  the fileName of control id 1003 into tURL
get URL tURL
set the clipboardData["image"] to it

(NOTE: in my little example "control id 1003" is the referenced control)

-gordy



Gordy,

Very clever idea. It tried it and it worked fine on a referenced jpg image,
but for some reason when I try it on .png images, it either doesn't work at
all or copies a garbled version to the clipboard (???).

Did you try with .png images?

-- 
Regards,

Howard Bornstein
-----------------------
www.designeq.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


 		
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.


More information about the use-livecode mailing list