Jeremy Stein - Brain
« Only one administrator can connect at this time | Move AccuRev Workspace » |
LANDesk VBS script display message window in front
If you have a VBS script running a WScript.echo command to display a message to the user, the message may just blink in the task bar and go unnoticed by the user. To ensure that the message comes into focus, you can try this nasty approach of temporarily minimizing all other windows:
Dim Shl :Set Shl = CreateObject("Shell.Application") Shl.MinimizeAll WScript.Echo "Important: you should do X." Shl.UndoMinimizeAll
Update: I’ve learned that a better way to solve this problem is just to use MsgBox with the vbSystemModal parameter:
MsgBox "Important: you should do X.", vbSystemModal
No Comments
Be the first to comment!
« Only one administrator can connect at this time | Move AccuRev Workspace » |
Leave a Reply