Jump to content

Custom Bubbles


Recommended Posts


This sounds interesting, does anyone have any more information??

Would be good to somehow invoke the bubbles from scripts as well??, This would be pretty handy in a large/medium corporate environment.

Yes you can. You could make a app that would do just that in whatever programming of your choice, it's actually not that hard (although you'll most likely have to use SubClassing, and use the Shell_NotifyIcon API).

Link to comment
Share on other sites

Unfortunately, I don't. It's not like a batchfile or something like that one can learn in 5 minutes either. Handling WM_'s can be tricky at times (subclassing in general), and lots of times your app will crash when debugging (because of the hooks). You also need the general knowledge of making API calls... It's not extremely complicated but it might not be a 5 minute project for a beginner either.

Link to comment
Share on other sites

I think it would be great to be able to make custom messages on certian information bubbles. I have some experience programming but not sure where to make the hooks etc....and would love to be able to so it during the unattended install set ups.

Link to comment
Share on other sites

Not exactly sure it this is what you asked for.

To show a tip in the taskbar you could AutoIt. It is simple

Here is a quick sample script.

;Only one copy loads
$G_SZVERSION = "V1"
If WinExists($G_SZVERSION) Then Exit
AutoItWinSetTitle($G_SZVERSION)

;$CmdLine[0] contains number of arguments
;CmdLine[1] contains the first argument
TrayTip("Title here", $CmdLine[1], 5, 1)
Sleep(9999)
TrayTip("clears tip from tray","",0)
TrayTip("", $CmdLine[1], 5)
Sleep(9999)

Call it lets says tip.au3

Compile the script into an executable and use it in your command script.

Attached is the compiled au3 script. Use it like

tip "Some information here"

where tip is the compiled executable and "Some information here" is the information to display.

Hope it helps.

Start here if you are new to AutoIt.

AutoIt Home

Tip.exe

Link to comment
Share on other sites

Attached is the compiled au3 script. Use it like

tip "Some information here"

where tip is the compiled executable and "Some information here" is the information to display.

Hope it helps.

Start here if you are new to AutoIt.

AutoIt Home

@yuha

That was absolutely excellent, thats for the post!

Very easy to use and a great answer...

One more question for you, is it possible to associate a program with the bubble that is displayed, so you can click the bubble and it loads the associated program. Much the way windows uses bubbles as default...?

Maybe there is even a way to change the icon that is displayed also?? Just a couple of ideas...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...