Windows logoff command

Derek Bump webmaster at dreamscapesoftware.com
Tue Dec 21 18:04:04 EST 2004


> 1. Is there a command I can write in Revolution to log the user off?

on windowsLogoff
   set the hideConsoleWindows to true
   if "NT" is in the SystemVersion then set the shellCommand to "cmd.exe"
   get shell("start logoff.exe")
end windowsLogoff


Works on WinXP, should work on WinNT/2K.
 

Derek Bump
Dreamscape Software
____________________________________________
Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com


More information about the use-livecode mailing list