Oops, not a function but, a step counter of sorts. Can't remember where I put it but, it actually would be slower in this situation.
Used it for animation control. If memory serves correctly the meat of it was this:
Code: vbscript
- Step 1
- Object.SetPicture="1.png"
- Object.Sleep 1000
- Step 2
- Object.SetPicture="2.png"
- Object.Sleep 5000
I think I opted to not use this but, replaced with a couple of timers and array's. One array for images and the second for the timer.