export snapshot

Mark Wieder ahsoftware at sonic.net
Sun Nov 6 11:40:59 EST 2016

On 11/06/2016 03:31 AM, Peter TB Brett wrote:

> Because the correct syntax is:
>     export snapshot of img "met" to file "met.png" as png

My reading of the syntax from the documentation allows the 'from object' 

export snapshot [from rect[angle] rectangle] [of object(glossary)] 
[(with | without) effects] ... | [from object] [{with|and} metadata 
metadata] to {file filePath | container} [as format] [with mask maskFile]

And, from the documentation examples:

export snapshot from Field 1 to file "File1.png" as PNG

export snapshot from Group 1 with metadata theMetadataArray to file 
"File2.jpg" as JPEG

  Mark Wieder
  ahsoftware at gmail.com

More information about the Use-livecode mailing list