martinhm
07-09-2001, 05:21 AM
Hi,
Don't know if there are any Script-fuers out there, but here it goes anyway.
If I try to load a non-existant image with gimp-file-load the script bombs out silently. Is there any way to handle this case and do something nicer? I am reading in a whole list of images and it is fine if one or two don't exist, but I still want the script to continue executing.
I heard of (access-problem? "a.jpg" "r"), but I think it grabs at a Unix command, hence it doesn't work on my, ugh, Windows machine -- sorry, no choice.
Any advice would be nice.
Don't know if there are any Script-fuers out there, but here it goes anyway.
If I try to load a non-existant image with gimp-file-load the script bombs out silently. Is there any way to handle this case and do something nicer? I am reading in a whole list of images and it is fine if one or two don't exist, but I still want the script to continue executing.
I heard of (access-problem? "a.jpg" "r"), but I think it grabs at a Unix command, hence it doesn't work on my, ugh, Windows machine -- sorry, no choice.
Any advice would be nice.