I work for 12 hour shifts and I would like to make myself a screen saver that would show
"Going home in $time"
$time is the current shift finish - current time.
Is something like this possible ?
This VBScript will automatically update the 3D Text screensaver text with the time left before your shift ends. Save the following text in a file called UpdateScreensaver.vbs and modify the line with
Now double click on the file to run it and nothing should happen. This is good. Now go and check the settings for the 3D Text screensaver and you should see that it displays the hours left before your shift ends.
All you need to do now is set up a scheduled task to run this every 15 minutes (or so) and your screensaver will be kept up to date with the number of hours left.
I found that instead of using Visual Studio there are other ways like scripting in AutoIT.
Go to the the Downloads section on the website. It doesn't require membership either. Go to the download for the AutoIT application coder and compiler etc. Then search on the downloads page I think its like the misc. section and like the 3rd page in there is a thread called "ScreenSaver Demo - Matrix Included" that contains the source code as well as an example for you to build.
So you open the compiler, insert the script (even create your own icon), click Compile (ensure the script is not in the same directory as the place where you want to place the .exe).
Compile it and it will create an .exe file of your mane choice i.e. Matrix. Then you rename to .scr extension and drop it in the system32 folder and it will show up in the options when you go to personalise -> screensavers. The first time I ran it it didn't like it and would not let me click options, how ever after rebooting it works flawlessly.
For information on how it was compiled check the thread in the forums of AutoIT called Screensaver UDF.
Windows Screensaver's are basically just executables with the .scr extension, write an program in C or C++ for that, pretty simple enough.