Jump to content

Recommended Posts

Posted

I'm trying to figure out how to do a checksum to coords inside a specific window, so like it wouldn't matter where the window is at on the screen but the checksum will return the same.. My question is, would there be any possible way to detect the pixel location inside of the current window?

Posted

PixelCoordMode

Yes, but when I look help file I see

Opt("PixelCoordMode", 1)       ;1=absolute, 0=relative, 2=client

Which ones of those would be referring to only screen that mouse in it?

Posted

Opt("PixelCoordMode", 2)

if you are going to use some mousemove you might wanna use this one too

Opt("MouseCoordMode", 2)

Posted

Yes, but when I look help file I see

Opt("PixelCoordMode", 1)      ;1=absolute, 0=relative, 2=client
...
I know that this post is a bit late...

It depends on where you are looking in the help file.

Sets the way coords are used in the pixel functions, either absolute coords or coords relative to the window defined by hwnd (default active window):

0 = relative coords to the defined window

1 = absolute screen coordinates (default)

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

If you need to search for a button to click that is on the menu bar (command bar) then you might want to use 0. It includes the entire window.

[size="1"][font="Arial"].[u].[/u][/font][/size]

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
  • Recently Browsing   0 members

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