Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- get_y = 5
- loop
- #IfWinActive World of Warcraft
- 3::
- {
- PixelGetColor, Color, 1, %get_y%
- if(Color = 0x000000)
- {
- PixelGetColor, Color, 13, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F1}
- return
- }
- PixelGetColor, Color, 25, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F2}
- return
- }
- PixelGetColor, Color, 37, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F3}
- return
- }
- PixelGetColor, Color, 49, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F4}
- return
- }
- PixelGetColor, Color, 61, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F5}
- return
- }
- PixelGetColor, Color, 73, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F6}
- return
- }
- PixelGetColor, Color, 85, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F7}
- return
- }
- PixelGetColor, Color, 97, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F8}
- return
- }
- PixelGetColor, Color, 109, %get_y%
- if(Color = 0x000000)
- {
- SendInput {F9}
- return
- }
- }
- }
- return
Add Comment
Please, Sign In to add comment