copy stack image to external files

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Apr 28 19:05:33 EDT 2011


Hi,

Why do you need to use the clipboard for this?

export images:
put the text of img x into url ("binfile:~/desktop/img x")

export card:
export snapshot from this card to x as PNG;
put x into url ("binfile:~/desktop/x.png")

Read the docs for more info about the export snapshot command.

Naturally, you could also export the clipboard:

put the clipboard into myType
put the clipboarddata[myType] into url  ("binfile:~/desktop/x.png")

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce

On 29 apr 2011, at 00:44, edward cawley wrote:

> I have a hypercard stack which I have converted to a livecode stack. It has a number of cards with a number of images which I would like to transfer to external files for use in movies in the livecode stack. I could do it on an individual basis but I would like to set up bulk transfer. I can do it if I can figure out how to transfer a clipboard image to a file through code.





More information about the use-livecode mailing list