copying an image
larry at significantplanet.org
larry at significantplanet.org
Mon May 5 12:42:28 EDT 2014
Hello Jacqueline,
Thanks for trying to help, but I am still lost. I used your:
put the clipboarddata["image"]
in a variety of ways, but could not make it work. The dictionary says "set the clipboardData..." not put.
Then I used this code in a button:
on mouseUp
set the clipboardData["image"] to image myLastImage
put the clipboard
end mouseUp
The message box pops up saying "image"
BUT, I still having nothing on my Windows (XP) clipboard!!
I can copy from just about any other application on my computer, but not from LiveCode.
sadly, Larry
----- Original Message -----
From: "J. Landman Gay" <jacque at hyperactivesw.com>
To: "How to use LiveCode" <use-livecode at lists.runrev.com>
Sent: Monday, May 05, 2014 9:51 AM
Subject: Re: copying an image
> On 5/5/14, 5:50 AM, larry at significantplanet.org wrote:
>> I'm using 6.1.1 (rc 4)
>>
>> I cannot figure out how to copy an image (that is imported into my
>> stack) to the clipboard
>>
>> I am using;
>>
>> copy image "myImage"
>>
>>
>> And the image does not end up in the clipboard Nothing, nada, zip,
>> zilch
>
> It should be there, but since it isn't text you need to use the expanded
> clipboard syntax:
>
> put the clipboarddata["image"]
>
> will give you the binary data. If you ask for the type of content in the
> clipboard:
>
> put the clipboard
>
> it should say "objects". You can paste the image, or set the imagedata
> of another image to the clipboarddata["image"].
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list