Tsukihime Posted April 19, 2011 Posted April 19, 2011 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?
wakillon Posted April 20, 2011 Posted April 20, 2011 See Remarks of ControlClick function in helpfile ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts
Tsukihime Posted April 20, 2011 Author Posted April 20, 2011 "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 =(
Tsukihime Posted April 20, 2011 Author Posted April 20, 2011 /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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now