Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:hypn/BejeweledBot

  • Loading branch information...
commit 51957530c51eeac244128fdf9992b157d2c7c003 2 parents a80bed5 + 32dea2b
@hypn authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 bot.au3
View
8 bot.au3
@@ -1,5 +1,7 @@
-; find the board's starting location
Local $coord = PixelSearch(0, 0, 1440, 900, 0x37372C)
+PixelGetColor ( $coord[0] , $coord[1] )
If Not @error Then
- MsgBox(0, "Board's X and Y values are:", $coord[0] & "," & $coord[1])
-EndIf
+ MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])
+EndIf
+
+MsgBox(0, "Color At Location", PixelGetColor ( $coord[0] , $coord[1] ))
Please sign in to comment.
Something went wrong with that request. Please try again.