Sign in to follow this  
Followers 0
Matt @ MPCS

Custom Tray Icon

7 posts in this topic

I have seen this done on this forum, but when I try the examples provided it never seems to work. After simplifying the examples to almost nothing:

#include <GUIConstants.au3>

HotKeySet( "!^x", "END" )

GUITray("show", "new tooltip", "stop")

While 1
   Sleep 10
WEnd

Func END
   Exit
EndFunc

It tells me that there isn't a GUITray function, so Have these functions been removed? What am I doing wrong?

*** Matt @ MPCS

Share this post


Link to post
Share on other sites



Thanks for the update josbe. That will be very useful when it finally gets stablized.

*** Matt @ MPCS

Share this post


Link to post
Share on other sites

If anyone is looking for suggestions for a workaround (not as good as native support), I run my script as a service and created a VB configuration interface of which creates the tray icon to control the service.

I would be happy to supply VB source to anyone looking to do the same.

*** Matt @ MPCS

Share this post


Link to post
Share on other sites

[..]

I would be happy to supply VB source to anyone looking to do the same.

<{POST_SNAPBACK}>

.. thanks, sounds like a nice candidate for Scripts and Scraps :)

Share this post


Link to post
Share on other sites

I will be providing a "lite" version of my current project for the forum to observe, but due to company restrictions I am not allowed to share the "full" version. The project is a server monitor, specifically the "lite" version monitors http/https/ftp servers but isn't in the form of a service so it will not be using my service controller. I never thought about posting VB apps in scripts and scraps... always assumed they would be unwelcome.

The option still is open if you need the code to add a tray icon in vb though... i'll have to check but I might even be able to post my dynamic menu code to make the menus for it. No guarentees on that though.

*** Matt @ MPCS

Share this post


Link to post
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
Sign in to follow this  
Followers 0