Jump to content

Recommended Posts

Posted

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.

Posted

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

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

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

  • Moderators
Posted

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.

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- #

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...