Jump to content

Custom Tray Icon


Recommended Posts

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

Link to comment
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

Link to comment
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

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
 Share

  • Recently Browsing   0 members

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