Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Loop
- {
- IfWinActive, DS Capture Bottom
- {
- ;Compare color: 0x9A5928
- ;Coordinates: 768, 600 or 20, 36
- PixelGetColor, px1_color, 768, 600, RGB
- PixelGetColor, px2_color, 20, 36, RGB
- sleep 150
- if (px1_color = 0x9A5928 or px2_color = 0x9A5928)
- {
- controlSend,,{F7},ahk_class Qt5QWindowIcon
- }
- else
- {
- controlSend,,{F8},ahk_class Qt5QWindowIcon
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement