ScriptSaver is a screen saver module which executes an AppleScript of your choosing when it activates... you could use it to refresh a folder, log out a user, empty the trash, or relaunch an application. It's limited only by what you come up with!
CRUZDREW Hey I really like this script thank you so much!! I used it with this apple script to set my display to sleep after a minute when i activate my screen saver with hotkey, and then it uses the same script except with 15 instead of 1 when I deactivate the screen saver.
do shell script ("pmset displaysleep 1") ¬
user name ¬
"LoginShortUsername" password ¬
"LoginPassword" with administrator privileges
I have had absolutely no problems with it. (Version 2.8)