madmatrix Posted June 11, 2009 Share Posted June 11, 2009 (edited) Hi there, I'm using control series command shown as below to send text and choose combox list in one windows program. The weird thing is I see the text input on the edit bar. But when I click in the edit bar, the text I send there just disappeared. I tried controlsettext, it's same result. Also, the combo box doesn't work. I can make it dropdown the list but can't make anything selected. Do I miss something? Thanks a lot. CODEControlSend("Shipping Assistant 3.6", "", "[CLASS:WindowsForms10.EDIT.app.0.21af1a5; INSTANCE:3]", "Shipper") ControlSend("Shipping Assistant 3.6", "", "[CLASS:WindowsForms10.EDIT.app.0.21af1a5; INSTANCE:2]", "Shipper") ControlSend("Shipping Assistant 3.6", "", "[CLASS:WindowsForms10.EDIT.app.0.21af1a5; INSTANCE:11]", "1234 Xing Dr.") ControlSend("Shipping Assistant 3.6", "", "[CLASS:WindowsForms10.EDIT.app.0.21af1a5; INSTANCE:10]", "") ControlCommand ( "Shipping Assistant 3.6", "", "[CLASS:WindowsForms10.COMBOBOX.app.0.21af1a5; INSTANCE:2]", "SelectString", 'Missouri' ) Lou Edited June 11, 2009 by madmatrix Link to comment Share on other sites More sharing options...
bo8ster Posted June 11, 2009 Share Posted June 11, 2009 Not sure of what you are trying to do here. Can you post the info tool output? Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
madmatrix Posted June 11, 2009 Author Share Posted June 11, 2009 I found the problem. Before I send the text to the control edit bar, I need focus on that control and then set the text inside it. 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