Sign in to follow this  
Followers 0
w0rf

MouseClick as ControlClick?

7 posts in this topic

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.

Share this post


Link to post
Share on other sites



In scripts n scraps, theres ClickInControl(). I use it alot. Handy.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Anytime.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

I tried ClickInControl, and it clicks...just not at the coordinates I specificy in the window title I've specified...

Share this post


Link to post
Share on other sites

Look at how you have your MouseCoordMode... probably need it set to 2.


[center]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.[/center]

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 by AzKay

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

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