hmsSurprise Posted April 18, 2007 Share Posted April 18, 2007 (edited) 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? jh Edit: Actually Send works just fine for all in the group, just had to ControlClick each one first. ControlFocus had no effect. Edited April 18, 2007 by hmsSurprise Link to comment Share on other sites More sharing options...
Shevilie Posted April 19, 2007 Share Posted April 19, 2007 Depends on how the program is build (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 Link to comment Share on other sites More sharing options...
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