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' form:

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
 ahsoftw...@gmail.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to