I am not a programmer but I need to accomplish the following.
I need a VBscript to:
Start a program (ie. notepad)
detect when a user loggs off or shuts down (possibly with form_unload)
Type some charactors in notepad before it actually exits
Sample code is a must as I am terrible at coding