Sign in to follow this  
Followers 0
Tsukihime

Control Click inactive window

4 posts in this topic

I have a button and an Textbox object.

I used controlsettext to set the text, and then I want to controlclick the button to "apply changes".

It works when the window is active, but when the window is not active it doesn't click on the button.

Is there a way to get it to work without needing an active window?

Share this post


Link to post
Share on other sites



See Remarks of ControlClick function in helpfile ! Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

"some" controls.

In that case, the button I am trying to click is a WindowsForms10.BUTTON object.

I have managed to get it to click without having to activate the window before, but I can't seem to reproduce it =(

Share this post


Link to post
Share on other sites

/no edit button

I got it, the button must be visible on the screen for it to work, even if it's not active.

So perhaps there might be a way to click it without having it on the screen as well.

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