seadd Posted April 5, 2011 Share Posted April 5, 2011 I have one strange problem when I sue ControlSetText function with some applications. I am trying to set the text in one memo-like control in Windows application, and command line is like this: ControlSetText("AppName","","[CLASS:WindowsForms10.EDIT.app.0.141b42a_r16_ad1; INSTANCE:13]",$TextVariable) Value from the variable really shows up in the field, but as soon as I click in the field in the application, field gets blank. As a workaround, I instead activate the control and use the Send function, but I would still like to do it "the proper way". This happened to me with several applications, so it appears that it should not be so uncommon. Did anyone encounter this before? Thanks for any ideas. Link to comment Share on other sites More sharing options...
wakillon Posted April 6, 2011 Share Posted April 6, 2011 Welcolme to the Forums ! did you try the ControlSetText optional flag ?what's the Return Value ?did you try ControlSend or ControlCommand with his "EditPaste" command ? AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts 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