"export snapshot" still NOT in 8.1.7

Richard Gaskin ambassador at fourthworld.com
Mon Nov 27 14:48:15 EST 2017


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
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list