Sign in to follow this  
Followers 0

[Help] MouseClick and Window Pos

4 posts in this topic

Posted

hello, been trying to find out how to make a script that focuses on a window with MouseClick() click on the same place despite the window's current location on the screen.

EX: Notepad coords are 600,700 (only an example) for MouseClick

but when i move the window notepad to lets say from left side of the screen to the right side of the screen, MouseClick would still move the mouse to the same place where it would've clicked when notepad was on the left side. I hope you guys know what i'm talking about, and i've tried ControlClick, i dont want to use ControlClick. And if this is possible can anyone tell me if it would be compatible with pixelsearch?

thanks a lot.

Share this post


Link to post
Share on other sites



Posted

Set PixelCoordMode to 2 (client), that may take care of your problem.

Share this post


Link to post
Share on other sites

Posted

hi i learn better through examples, can u show me an example script with notepad? thanks.

Share this post


Link to post
Share on other sites

Posted

hi i learn better through examples, can u show me an example script with notepad? thanks.

nvm thanks for the tip, i've tried coding it and ended up understanding how to use set Opt.

Share this post


Link to post
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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.