Richmond Mathewson wrote:

> Thanks for the suggestion.
>
> I modified my code to read like this:
>
> *on**mouseUp*
>
> **
>
> ***export**snapshot from **group**"horror" **to**file "TestExport.png"
> as PNG*
>
> **
>
> ***put****the****result*
>
> **
>
> *end**mouseUp
>
> *
>
> *and the Message Box oponed, displaying nothing.
> *

It's probably all the asterisks. ;)

If there's no thrown error and nothing in "the result" perhaps a file was indeed written. The question is: where?

You might change the error check line to:

   put the result &cr& the directory

...to see where it thinks it successfully wrote the file.

If the file exists there is no problem. If the file doesn't exist there's an engine bug that should be reported.

But FWIW I haven't seen export fail with a path as far back as I can remember, so if a bug was introduced it was probably a very short-lived regression unlikely to be found in any other build.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.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