Kradon 0 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. Share this post Link to post Share on other sites
somdcomputerguy 103 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. Share this post Link to post Share on other sites
Kradon 0 Posted June 20, 2011 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
Kradon 0 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. Share this post Link to post Share on other sites