Copy images

Howard Bornstein howard.bornstein at gmail.com
Sun Sep 3 14:25:42 EDT 2006


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



More information about the use-livecode mailing list