AddTrayIcon


 

AddTrayIcon>IconFileName,Name,Hint

 

Creates an icon in the system tray using the .ico file specified.  Name should be a unique name which can be used to reference the tray icon in the DelTrayIcon and AddTrayHandler functions. Set Hint to the hint text to display when the mouse is moved over the tray.

 

See also: DelTrayIcon, AddTrayHandler, ModTrayIcon

Abbreviation: ATI

 

Example

 

AddTrayIcon>%SCRIPT_DIR%\tray.ico,MyTrayIcon,Click Me To Open

AddTrayHandler>MyTrayIcon,OnClick,DoTrayClick

 

...

 

SRT>DoTrayClick

  Show>Dialog1,res

End>DoTrayClick