Link to home
Start Free TrialLog in
Avatar of thenthorn1010
thenthorn1010Flag for United States of America

asked on

How to Get a System Tray Balloon Message Box to Appear using VBScript

How to Get a System Tray Balloon Message Box to Appear using VBScript? I have tried researching over the past day and I have found many websites that state that it is impossible for you to create a system tray balloon message such as "Installation Successful" for any sort of message. I am just tryign to create a simple message to start off with, as in the above example, and I cannot even figure that out. Any help would be greatly appreciated. Unfortunately, I have no sample code to work with for this example.
Avatar of crawfordits
crawfordits

I don't believe you can do it with VBS.  You could do it in VB.  You could also use AutoIT to do it.  http://www.autoitscript.com/autoit3/index.shtml
Avatar of thenthorn1010

ASKER

This solution must be deployed onto thousands of PCs. Would the installation of this AutoIT or using VB be possible to have on all of the PCs?
Avatar of matrixnz
Yes, AutoIT basically uses Windows API  the code below would (from AutoIT Help) would show two different types of Tray Tips.

Cheers
TrayTip("I'm a title", "I'm the message", 5, 1)
MsgBox(4096,"", "Press OK to see another tip.")
TrayTip("clears any tray tip","",0)
TrayTip("", "A different tray tip.", 5)
Sleep(5000)

Open in new window

That looks like the correct solution, but one final constraint to my problem is having all of the PCs having the same DLLs and other libraries. Would AutoIT need to be installed on all PCs on the domain/networks before pushing out a message similar to this on a couple of thousand PCs? (The message will be for an installation program, but this is just a simple example of what I was attempting to do.)
ASKER CERTIFIED SOLUTION
Avatar of matrixnz
matrixnz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial