Jump to content

ControlSetText - text disappears after edit


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...