Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AutoItSetOption("PixelCoordMode", 0)
- Local $bActive = False
- Local $hWindow
- Func Start()
- WinWaitActive("omitted for privacy")
- $hWindow = WinGetHandle("omitted for privacy")
- MsgBox(0, "Colors", "Left Color: " & PixelGetColor(158, 350, $hWindow) & @LF & "Right Color: " & PixelGetColor(228, 350, $hWindow))
- EndFunc
- HotKeySet("g","Start")
- While 1
- Sleep(1000)
- WEnd
Add Comment
Please, Sign In to add comment