d3ullist

Realm Grinder

Mar 1st, 2022
2,194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. #SingleInstance, Force
  3. #MaxHotkeysPerInterval 99000000
  4. #HotkeyInterval 99000000
  5. #KeyHistory 0
  6. #MaxThreadsPerHotkey 3
  7. #Include WindowUtillity.ahk
  8.  
  9. ListLines Off
  10. Process, Priority, , A
  11. SetBatchLines, -1
  12. SetKeyDelay, -1, -1
  13. SetMouseDelay, -1
  14. SetDefaultMouseSpeed, 0
  15. SetWinDelay, -1
  16. SetControlDelay, -1
  17. SendMode Input
  18. SetWorkingDir, %A_ScriptDir%
  19. SetControlDelay, -1
  20.  
  21. ; #win !alt ^ctrl +shift &combinekeys <>left/right alt etc
  22.  
  23. ; AutoClick
  24. ^F1::
  25.     F1Toggle := !F1Toggle
  26.     WinGetPos,,, Width, Height, Realm Grinder
  27.     xPos := Width / 2
  28.     yPos := Height / 2
  29.     Loop
  30.     {
  31.         If (!F1Toggle)
  32.             Break
  33.         ControlClick, x%xPos% y%yPos%, Realm Grinder ; Clicks center point of the realm grinder process
  34.         Sleep 83
  35.     }
  36. return
  37.  
  38. ; #F1 -> WidnowUtillity:: List hotkeys
  39. ; #F2 -> WindowUtillity:: get system info for window
  40. ; #F3 -> WindowUtillity:: Get screen information, such as coordinates.
  41. ; #F4 -> WindowUtillity:: Exit app
  42. ; #F5 -> WindowUtillity:: Reload Autohotkey
  43. ; #F11 -> WindowUtillity:: Make active window transparent
Advertisement