Skip to content

Commit

Permalink
Added reverse color lookup (as a reminder)
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Mar 19, 2012
2 parents 3b88bc9 + 58c3838 commit 32dea2b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bot.au3
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
; Place holder for the bot

Local $coord = PixelSearch(0, 0, 1440, 900, 0x313129)
Local $coord = PixelSearch(0, 0, 1440, 900, 0x37372C)
PixelGetColor ( $coord[0] , $coord[1] )
If Not @error Then
MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])
EndIf

MsgBox(0, "Tutorial", PixelGetColor ( $coord[0] , $coord[1] ))
MsgBox(0, "Color At Location", PixelGetColor ( $coord[0] , $coord[1] ))

0 comments on commit 32dea2b

Please sign in to comment.