Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5. WinGet, wowid, List, World of Warcraft
  6.  
  7. StopOblit = 0
  8.  
  9. ^-::
  10. IfWinActive, World of Warcraft
  11. {
  12. StopOblit = 0
  13. Loop
  14. {
  15. if (StopOblit = 1)
  16. break
  17. Send, !-
  18. Sleep, 2000
  19. }
  20. }
  21. return
  22.  
  23. ^=::
  24. StopOblit = 1
  25. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement