export: can't write to file, mask file, or container

Derek Bump webmaster at dreamscapesoftware.com
Tue Apr 12 21:49:29 EDT 2005


 > I have experienced this error when trying to export an image with no
 > image data. And I think it can be checked using the result.

Well, I just tested that it it doesn't look like it.  A stack with an 
image who's referenced to a text file, and 1 button with the following 
script...

on mouseUp
   export image "test" to file "C:/test.jpg" as JPEG
   put the result
end mouseUp

Will not put the result, but will simply show the Error dialog with the 
above mentioned error.  I do believe that this error should be instead 
returned to a result instead of just calling the Error dialog.

Derek Bump
Dreamscape Software
_______________________________________________
Compress Images Easily with JPEGCompress 2.5
http://www.dreamscapesoftware.com/


More information about the use-livecode mailing list