Jump to content

MouseClick as ControlClick?


Recommended Posts


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?


Link to comment
Share on other sites

  • Moderators

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

With ClickInControl() It clicks in the coordinates of that control. For example,




|.................| <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
Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...