This looks like it may be a bug on Mac OS, or just a difference in the way the 
OS works.

I see the same problem using LC 8.1.5(rc1) on Mac OS Sierra 10.12.4, but if I 
give the file a more complete path (which I would normally do), then it does 
work:

export snapshot from group "abc" to file "/Users/paulhibbert/Desktop/abc.png" 
as PNG

However, I would have expected an error or at least something in the result 
with your example, but they were both empty when I tried:

on mouseUp

   try

      export snapshot from group "abc" to file "abc.png" as PNG

   catch tError

   end try

put "The Result:" & the result && "Error:" & tError

end mouseUp

Are you going to file a bug report?

Paul


> On Jun 28, 2017, at 1:58 AM, Richmond Mathewson via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Mac OS 10.7.8
> 
> in LC 7.1.4 if I type this sort of thing into the Message box:
> 
> export snapshot from group "abc" to file "abc.png" as PNG
> 
> it exports a snapshot of my group!
> 
> But that doesn't work in 8.1.4.
> 
> Richmond.
> _______________________________________________
> 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

_______________________________________________
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