Jump to content

Recommended Posts

Posted (edited)

Hey,

I've got a little issue with pixel search, I'm trying to make it dynamic so wherever the window is it will be able to search for the pixel

If the window is at 0,0 the following works:

$HXDDP = PixelSearch(250, 125, 255, 129, 0x77B049, 5)

I tried the following but it fails...

$WinPos = WinGetPos("T3")
$HXDDP = PixelSearch($WinPos[0] + 250, $WinPos[1] + 125, $WinPos[0] + 255, $WinPos[1] + 129, 0x77B049, 5)
Edited by XxXGoD

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...