copying an image

J. Landman Gay jacque at hyperactivesw.com
Mon May 5 11:51:40 EDT 2014


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




More information about the use-livecode mailing list