Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- #SingleInstance, Force
- #MaxHotkeysPerInterval 99000000
- #HotkeyInterval 99000000
- #KeyHistory 0
- #MaxThreadsPerHotkey 3
- #Include WindowUtillity.ahk
- ListLines Off
- Process, Priority, , A
- SetBatchLines, -1
- SetKeyDelay, -1, -1
- SetMouseDelay, -1
- SetDefaultMouseSpeed, 0
- SetWinDelay, -1
- SetControlDelay, -1
- SendMode Input
- SetWorkingDir, %A_ScriptDir%
- SetControlDelay, -1
- ; #win !alt ^ctrl +shift &combinekeys <>left/right alt etc
- ; AutoClick
- ^F1::
- F1Toggle := !F1Toggle
- WinGetPos,,, Width, Height, Realm Grinder
- xPos := Width / 2
- yPos := Height / 2
- Loop
- {
- If (!F1Toggle)
- Break
- ControlClick, x%xPos% y%yPos%, Realm Grinder ; Clicks center point of the realm grinder process
- Sleep 83
- }
- return
- ; #F1 -> WidnowUtillity:: List hotkeys
- ; #F2 -> WindowUtillity:: get system info for window
- ; #F3 -> WindowUtillity:: Get screen information, such as coordinates.
- ; #F4 -> WindowUtillity:: Exit app
- ; #F5 -> WindowUtillity:: Reload Autohotkey
- ; #F11 -> WindowUtillity:: Make active window transparent
Advertisement