Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +5:: ; Make the F1 key into a hotkey (the $ symbol facilitates the "P" mode of GetKeyState below).
- getx = 274
- gety = 488
- color = 0x00FF00
- Send, 1
- Loop ; Since no number is specified with it, this is an infinite loop unless "break" or "return" is encountered inside.
- {
- GetKeyState, state, ctrl
- if state = D
- break
- PixelGetColor, color, getx, gety
- if (color != 0x00FF00)
- {
- getx += 40
- Click WheelDown
- }
- click down right
- click up right
- }
- return
Add Comment
Please, Sign In to add comment