Jump to content
Sign in to follow this  
willwatters

keep contents in fields

Recommended Posts

willwatters

I inserted text using the ControlSetText command, but when I tabbed over to a few screens and back to this screen, the data disappeared.

How do I keep the contents remaining in these fields so when I return to this screen I can view and edit the data?

Thanks

Share this post


Link to post
Share on other sites
MHz

That is strange how an entry does disappear. Some input boxes of some programs do this, so you need to keep focus and complete the task. Or you could get Autoit to create a temp file to store your data until a suitable time to insert it all at once. Like an ini file perhaps?

Share this post


Link to post
Share on other sites
this-is-me

If the data is disappearing, try this:

Type in some data yourself

Do the tabbing thing

Go back

See if it disappeared


Who else would I be?

Share this post


Link to post
Share on other sites
SlimShady

Use ControlSend if ControlSetText doesn't work as expected.

Share this post


Link to post
Share on other sites
SlimShady

may need to ControlFocus, then ControlSend...

LAr.

<{POST_SNAPBACK}>

Really? Is that necessary?

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  

×