Jump to content
Sign in to follow this  


Recommended Posts


Was working with an ODBC connector window text box named QWidget77 and was having difficulty getting text into it. ControlSend and ControlSetText both returned a 1 but didn't post the string. Send returned a zero. I could set and get focus too. Finally I ControlClicked the box just b4 ControlSend and the text went in just fine.

Thought that unusual and unnecessary as I had gained focus and the fact that ControlSend has the controlID in it.

Is this unusual?



Actually Send works just fine for all in the group, just had to ControlClick each one first. ControlFocus had no effect.

Edited by hmsSurprise

Share this post

Link to post
Share on other sites

Depends on how the program is build :shocked: (Is my best guess) Like some buttons need to have focus before you can click em...

Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

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.