Hello Todd,
Under XP Pro, you could use a logoff script to do this.
I suggest you first do some reading,
[Start]
| Help and Support |
Type LOGON SCRIPT [Enter]
Then under "Full-text Search Matches", read
1. Assign user logoff scripts, and
3. Scripts
Repeat for SHUTDOWN SCRIPT.
I hacked this script.
Copy and paste the following lines into Notepad.
'--- START ---
Option Explicit
On Error Resume Next
Dim WSHShell, msg, MyBox, j
Set WSHShell = WScript.CreateObject("WScript.Shell")
'Output message for dialog box
msg = "Turn off the printer" & vbCR
msg = msg & "---Do something else---" & vbCR
' Either delete previous line or copy line,
' and/or modify "---Do something else---"
j = "Todd"
MyBox = MsgBox (msg, 4096, j)
Set WshShell = Nothing
'--- END ---
Save file as "Todd.VBS", including the double-quotation
marks so the file will not be saved with a ".TXT"
extension.
Please post a reply in this thread with your findings.
Jan