Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- #Persistent ; Stay open in background
- #SingleInstance force
- #MaxHotkeysPerInterval 99000000
- #HotkeyInterval 99000000
- #KeyHistory 0
- ListLines Off
- SetBatchLines -1
- SetKeyDelay, -1, -1
- SetMouseDelay, -1
- SetDefaultMouseSpeed, 0
- SetWinDelay, -1
- F11::
- while KeyIsDown := GetKeyState("F11")
- {
- WinGetPos, X, Y, Width, Height, Path of Exile
- X2 := (X + Width)
- Y2 := (Y + Height)
- PixelSearch, Px, Py, X, Y, X2, Y2, 0xF0ED53, 3, Fast RGB
- if ErrorLevel
- return
- else
- MouseMove, Px+50, Py+10, 0
- Click
- Sleep , -1 ; 50 or so
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment