Jump to content

PixelCoordMode help ^-^


Recommended Posts

"2 = relative coords to the client area of the defined window"

What is the defined window?

will be be the active window?

I understand it will with this option only search for pixels in a client area, but I need it in a specific client area..

so im not sure if it defaults to the window that is active, thats what I need to know.

Edited by XKira
Link to comment
Share on other sites

That's because there's no such thing as "MouseCoordColor". You want "PixelCoordMode".

o-o;;;

Oh wow...

Time to get some sleep XD

Thanks alot.

Its still giving me literal position though ...

AutoItSetOption("PixelCoordMode", 2)
Sleep(5000)
$var = MouseGetPos()
MsgBox(0, " ", $var[0] & " " & $var[1])

i'll use megaten for an example.

as you can see, the mouse is on the First Pixel in the client area.

but it still returns 451, 133 (literal pixel area)

Posted Image

Edited by XKira
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...