Jump to content

Send command to a window without activate it?


Nepheus
 Share

Recommended Posts

I want to send command to a button of a window by using ControlClick() without activate it. When i'm on a game at fullscreen setting, it's not a good sound that i must pause it for a while then the script done the job. The window mustbe activated for script to work. It's not so convenient. I'm on the AuLostConLogin for my bad internet connection program. It's easy to be dropped. Then autologin working underlayer is a best way.

Thanks for your help.

Link to comment
Share on other sites

I read it before post on, i pay attention at the remark:

Some controls will resist clicking unless they are the active window. Use the WinActivate() function to force the control's window to the top before using ControlClick().

Then the form needs to be activated before i send command. Without it, it's not work.

Is there any other way?

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
 Share

  • Recently Browsing   0 members

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