congdantoancau

Single click tray icon suspend

Mar 22nd, 2022
1,892
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Single click tray icon suspend
  2. ; https://autohotkey.com/boards/viewtopic.php?t=38761
  3. ; https://autohotkey.com/boards/viewtopic.php?t=6110
  4. OnMessage(0x404, "AHK_NOTIFYICON")
  5. AHK_NOTIFYICON(wParam, lParam, uMsg, hWnd)
  6. {
  7.     if (lParam = 0x201) ;WM_LBUTTONDOWN := 0x201
  8.         suspend
  9. }
Advertisement
Add Comment
Please, Sign In to add comment