Jump to content

Recommended Posts

Posted (edited)

Hi, I am making a very small widget that searches for a pure blue pixel (hex: 0000FF) on the screen, then gives you the coordinates of it.

$pixcoor = PixelSearch(610, 53, 805, 245, 0000FF)

MsgBox(0, "Blue Pixel x,y:", $pixcoor[0] & "," & $pixcoor[1])

When i run it in SciTE, it gives me a syntax error on 0000FF.

Any suggestions?

Thanks,

Mysis

Edited by Mysis

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...