Saving snapshots to files

Klaus Major klaus at major-k.de
Sun Mar 14 07:11:03 EST 2004


Tach' Willi :-)

> ...
> Klaus and Ken,
>
> The "export snapshot" command works with Rev 2.1.2 or Metacard 2.5.1 
> or higher (2.2.B1 and 2.6a2).
>
> Elementary script:
>
> on mouseUp
>   put the rect of image 1 into trect
>   put the windowID of this stack into StackID
>   export snapshot from rect trect of window StackID to file 
> "ImageTest.jpg" as JPEG
> end mouseUp

thank you, works now for me :-)

The trick was, apparently, to also store the rect in a variable!

> ...
> Cheers,
>
> Wilhelm

Have a lazy sunday...


Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list