Amazing, thank you. I've implemented your index code and tested it with over 1500 images. I can't see any downside compared to using the Lua script, so it looks like an all-round improvement to me.I don't like loose ends, so here's an alternative that completely eliminates loading some particular image on refresh...The key above is to start with no MeasureName in [Image] on refresh, and set it afterwards via !SetOption, as soon as the folder is read. You can test what happens in 'slow motion' by temporarily removing the [!Redraw] from the FinishAction in [Folder] - it won't display a particular image until the folder is read (using no [!Redraw] was yet another method to make the previous issue occur consistently, by the way). As a bonus, I left a commented out [Index] measure that gets the random without Lua by exhausting all values before reusing them again, feel free to see if it's the Lua script equivalent or what you may need for a potential scriptless version.
Perhaps you could help me with this: I attempted to add a log output that simply shows the number of the currently displayed picture. I've gotten it to work when the skin is clicked by appending [!Log "Current Image: [Index]"] to the LeftMouseUpAction= line, but can't get anything to show when the picture changes automatically due to the Interval timer. I tried adding it to the end of the FinishAction= line in the Folder measure and it appears once on skin refresh, but no more after that. Any ideas?
Statistics: Posted by Mifdy — 32 minutes ago