Kradon Posted June 20, 2011 Share Posted June 20, 2011 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. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 20, 2011 Share Posted June 20, 2011 Set PixelCoordMode to 2 (client), that may take care of your problem. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Kradon Posted June 20, 2011 Author Share Posted June 20, 2011 hi i learn better through examples, can u show me an example script with notepad? thanks. Link to comment Share on other sites More sharing options...
Kradon Posted June 20, 2011 Author Share Posted June 20, 2011 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now