Sorry, I meant 'Spinning' ahead..
So, this program above you would run as the screen saver. Then, to this program itself, you can set a number of programs to run when this is activated (i.e. the screensaver starts) and also run applications when this program terminates (i.e. the screen saver ends, for example moving the mouse). I think this is what you were originally asking for? As you can see, you can add as many programs as you like to this to run at those points.
If this IS what you want, let me know and I'll carry on.