Hi people!
Haven't been on this forum for ages. Good to be back.
I am writing an autoit script for colleagues who use multiple instances (windows) of a fullscreen sales application. It keeps track of which window is for which agent login, and lists those windows in a systray menu so users can taskswitch more easily. Since it is a fullscreen application I chose to do everything through the systray, to save on screen estate.
The problem: the workstations have many programs running in the
junkew, Thanks for the hints - got it working now. JustSomeone, This script looks first in the main systray - if it does not find the icon it opens the popup and looks there:
#include <GuiToolBar.au3>
Global $hSysTray_Handle
Global $sTipText = "TestScript" ; Change this to the text you require
HotKeySet("q", "_Search")
Opt("TrayMenuMode", 3)
TrayCreateItem("One")
TrayCreateItem("Two")
TrayCreateItem("Three")
TrayCreateItem("")
$mExit_Item = TrayCreateItem("Exit")
TraySetState()