Juno_okyo

Activate a program on Tray Menu

Jul 13th, 2015
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.35 KB | None | 0 0
  1. #NoTrayIcon
  2. #include <GuiToolBar.au3>
  3. #include <SysTray.au3> ; https://www.autoitscript.com/forum/topic/13704-systray_udf/
  4.  
  5. ;=> Demo: http://i.imgur.com/y5Lhkqq.gif
  6. Dim $index = _SysTrayIconIndex('unikeynt.exe')
  7. Global $hWnd = ControlGetHandle('[CLASS:Shell_TrayWnd]', '', 'ToolbarWindow321')
  8. _GUICtrlToolbar_ClickIndex($hWnd, $index, 'left', False, 2)
Add Comment
Please, Sign In to add comment