Background Image Script?

 From:  Michael Gibson
6162.15 In reply to 6162.14 
Hi Brian,

> When the script gets to the end, the highest number, it seems to keep reloading
> the last image, with label number incremented
> higher each time.

Yeah when you get to a file that does not exist, the reload fails and the last valid image still stays as the one displayed.

Right now there's not a very convenient way for a script to detect if a file exists or not, so for now you would just want to pay attention to not go past the last one, or modify the script to have the last number set in the script so that it can look at that to know if it's at the end one or not.

I'll add in a method to the script layer for the next v3 beta to make it easier for a script to know if a given file exists or not.

- Michael