w0rf Posted September 16, 2006 Share Posted September 16, 2006 Hello, I'm working on a program that allows a window to be minimized while still sending clicks to it. Now, I know this is possible with ControlClick, but I don't seem to know how to make ControlClick send coordinate-specific clicks to the minimized window. So, I was wondering, since MouseClick allows the clicking of coordinates, is it possible to use MouseClick on a non-visible window, such as you can do with ControlClick? And if you can't do it with MouseClick, can you use coordinates with ControlClick? Thanks. Link to comment Share on other sites More sharing options...
AzKay Posted September 16, 2006 Share Posted September 16, 2006 In scripts n scraps, theres ClickInControl(). I use it alot. Handy. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
jvanegmond Posted September 16, 2006 Share Posted September 16, 2006 That is handy, Thanks AzKay. github.com/jvanegmond Link to comment Share on other sites More sharing options...
AzKay Posted September 16, 2006 Share Posted September 16, 2006 Anytime. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
w0rf Posted September 16, 2006 Author Share Posted September 16, 2006 I tried ClickInControl, and it clicks...just not at the coordinates I specificy in the window title I've specified... Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 17, 2006 Moderators Share Posted September 17, 2006 Look at how you have your MouseCoordMode... probably need it set to 2. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AzKay Posted September 17, 2006 Share Posted September 17, 2006 (edited) With ClickInControl() It clicks in the coordinates of that control. For example, if __________ |.................| |.................| <This is the form |.........____| |_____|___| <This is the control It will be the co ordinates IN the control, So, the top left of the control would be, 0,0, So it wont be the co ordinates from the top left of the form Edited September 17, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # 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