Jump to content

Recommended Posts

Posted

Posted Image

$Detect = PixelCheckSum(0,0,0,0)

While $Detect = PixelCheckSum(0,0,0,0)
Sleep(30)
Wend

Please help me fill out the coords for the red marked areas. Not exactly, ill fix that.

Just so i can learn how the positioning works.

Posted (edited)

$Detect = PixelCheckSum(0,0,0,0)

While $Detect = PixelCheckSum(0,0,0,0)
Sleep(30)
Wend

Please help me fill out the coords for the red marked areas. Not exactly, ill fix that.

Just so i can learn how the positioning works.

Hmm, you don't really have to use PixelCheckSum.

If I'm correct you need to find the location of those two boxes?

You can either use MouseGetPos and hover your mouse to the top left and bottom right corners of the box.

Or use the Au3info tool.

However, I reccomend you to use Opt("PixelCoordMode", 2) if you use the Au3info tool.

Edited by Qousio
Posted (edited)

Opt("PixelCoordMode", 2)

whats up with that?

and i dont realy know what to fill out in thoose (0, 0 ,0 ,0)

Edited by Goss3N
Posted

Opt("PixelCoordMode", 2)

whats up with that?

and i dont realy know what to fill out in thoose (0, 0 ,0 ,0)

PixelChecksum ( left, top, right, bottom [, step [,hwnd]] )

So 0, 0, 0, 0 == left, top, right, bottom pixel locations.

Opt("PixelCoordMode", 2) == relative coords to the client area of the defined window. Not exactly needed, but helps.

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