Made 3 more functions:
TrayIcon( [iconfile [, iconid]] ) -> without parameters reset to default application icon
TrayFlash([mode]) -> 0 = flashing off, other (default) = flashing on
TrayTipText( [tooltiptext] ) -> will only set if debug mode is off, without parameters reset to default tooltiptext
The commands mean that you can use them without having any GUI.
With the traymenu I think they have to be together with a gui, otherwise we need more new commands like i.e.:
- TrayCreateMenu()
- TrayCreateMenuItem(...)
- TrayDeleteMenuItem(...)
- TraySetMenuItemState(...)
...
But this I don't like

For the traymenu I will take a look later...have to go sleep now
Maybe we will use another mode for docking your own menu to the AutoitDefault-Menu or to overwrite it/to show only yours...
TrayMenuMode(option) option:
0 = append your menu(items) (default)
1 = create your own traymenu (the default menuitems are not shown)
we will see
So long and good night

Holger
P.S. forgot: at the moment I hate the 'oneclicking' methode to see the traymenu

, so I think we need one click/mouse-option to choose what happens when you click at the icon...
Edited by Holger, 10 October 2004 - 01:40 AM.