Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Single click tray icon suspend
- ; https://autohotkey.com/boards/viewtopic.php?t=38761
- ; https://autohotkey.com/boards/viewtopic.php?t=6110
- OnMessage(0x404, "AHK_NOTIFYICON")
- AHK_NOTIFYICON(wParam, lParam, uMsg, hWnd)
- {
- if (lParam = 0x201) ;WM_LBUTTONDOWN := 0x201
- suspend
- }
Advertisement
Add Comment
Please, Sign In to add comment