Export snapshot

J. Landman Gay jacque at hyperactivesw.com
Sat Mar 5 00:51:03 EST 2005


On 3/4/05 10:08 PM, Marty Knapp wrote:

> I'm using Rev 2.2.1 on Mac OS 10.2.8 Trying to export a window to a jpeg
> 
> on mouseUp 
>   set fileType to "msieJPEG"
>   export snapshot from rect (the rect of this stack) to file "test.jpg"
> end mouseUp
> 
> If creates the file but when I double click it, Preview launches but
> displays nothing. Photoshop gives me the error that it's an unknown or
> invalid JPEG marker type.
> 
> For filetype I've tried jpegJPEG, ????JPEG.
> 
> What am I doing wrong?

Tell it what kind of file to make:

  export snapshot from rect (the rect of this stack) \
       to file "test.jpg" as jpeg

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


More information about the use-livecode mailing list