w0rf Posted September 16, 2006 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.
AzKay Posted September 16, 2006 Posted September 16, 2006 In scripts n scraps, theres ClickInControl(). I use it alot. Handy. # MY LOVE FOR YOU... IS LIKE A TRUCK- #
jvanegmond Posted September 16, 2006 Posted September 16, 2006 That is handy, Thanks AzKay. github.com/jvanegmond
AzKay Posted September 16, 2006 Posted September 16, 2006 Anytime. # MY LOVE FOR YOU... IS LIKE A TRUCK- #
w0rf Posted September 16, 2006 Author Posted September 16, 2006 I tried ClickInControl, and it clicks...just not at the coordinates I specificy in the window title I've specified...
Moderators SmOke_N Posted September 17, 2006 Moderators 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.
AzKay Posted September 17, 2006 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- #
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