copying a card as an image to the system clipboard

J. Landman Gay jacque at hyperactivesw.com
Wed Nov 3 11:37:07 EST 2004


On 11/3/04 1:48 AM, kweto wrote:

> Hello List,
> 
> For an MC stack I'm now converting to Rev, I used (Tuviah Snyder's?)
> Externals Collection to copy the current card to the system clipboard (as a
> bitmap, which can then be pasted into other applications). I thought the
> closest Rev equivalent for this would be the "copy" command, the
> documentation for which states:
> 
> "If a stack is specified, the copied object must be a card."
> 
> So, I tried "copy card y of stack x", and even simply "copy card y", but, no
> luck.
> 
> So, is there a way?

The "copy" command will copy the card and all its structures, not a 
picture of it. If you paste, you'll get a duplicate card in your stack.

Instead, use the "export snapshot" command to take a picture of the card 
and store it in the clipboard or as a file on disk.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list