Jump to content
Sign in to follow this  
Tsukihime

Control Click inactive window

Recommended Posts

Tsukihime

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
wakillon

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
Tsukihime

"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
Tsukihime

/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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.