Help on export snapshot

J. Landman Gay jacque at hyperactivesw.com
Thu Jun 11 21:58:23 EDT 2009


Mark Schonewille wrote:
> Hi Paul,
> 
> This will work:
> 
> on mouseUp
>      put "~/desktop/test.png" into myFile
>      if there is a file myFile then delete file myFile
>      set the filetype to "????PNGf"
>      export snapshot from rect (the rect of this stack) to file myFile 
> as PNG
> end mouseUp

Or to be cross-platform:

put specialFolderpath("desktop") & "/test.png" into myFile

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



More information about the use-livecode mailing list