Copy images

Sue Smith coolsnowlime at
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>
Date: September 3, 2006 2:25:42 PM EDT
To: Gordon Tillman <got at>
Cc: How to use Revolution <use-revolution at>
Subject: Re: Copy images
Reply-To: bornstein at, How to use Revolution <use-revolution at>

On 9/3/06, Gordon Tillman <got at> 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)



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?


Howard Bornstein
use-revolution mailing list
use-revolution at
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

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

More information about the Use-livecode mailing list