Juno_okyo

Click an icon on Tray Menu

Sep 1st, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.22 KB | None | 0 0
  1. #NoTrayIcon
  2. #include <SysTray.au3>
  3.  
  4. Dim $index = _SysTrayIconIndex('unikeynt.exe')
  5. Global $hWnd = ControlGetHandle('[CLASS:Shell_TrayWnd]', '', 'ToolbarWindow321')
  6. _GUICtrlToolbar_ClickIndex($hWnd, $index, 'left', False, 2)
Add Comment
Please, Sign In to add comment