Jump to content

ControlClick + MouseClick for background or windowed mode windows


ileandros
 Share

Recommended Posts

Hi there,

This is a very simple code that i use for ControlClick on background windows with MouseClick cursor.

To be honest i had made this for game automatation but its been very usefull to me on my latests projects with mouseclicking on background clients.

Changes

  • Added ControlClick for background windows on fullscreen or windowed mode
  • Works on any screen resolution
  • Also added MouseClick function for windowed mode

Cheers

MsClick.au3

Edited by ileandros

I feel nothing.It feels great.

Link to comment
Share on other sites

who said anything about a game? this is for a cnc mill prorgram that cuts plywood but the old computer died and the programming for haveing a dedicated cnc program is unbelivable expensive. I have put together a p4 xp system that will control the router movements commands but to have them move to x or y takes a manual click of butons on the layout screen.

Link to comment
Share on other sites

  • 6 months later...
  • 2 years later...

 

Hello friend, I know the post is old, you could give me an example of how to use this code you use normally.

It is that I'm something new.

 

#include <Misc.au3>
#include <MsgBoxConstants.au3>
If _Singleton("aceptar ventanas business", 1) = 0 Then
MsgBox(16, "Error", "Ya Esta En Ejecución El Mismo Programa")
    Exit
 EndIf
while 1
If WinExists("Recuperando los datos...")Then
ControlClick("Recuperando los datos...","","[CLASS:Button; INSTANCE:1]")
Else
EndIf
WEnd

 

Link to comment
Share on other sites

  • 6 months later...

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
 Share

  • Recently Browsing   0 members

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