Sign in to follow this  
Followers 0
willwatters

keep contents in fields

5 posts in this topic

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



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

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

Use ControlSend if ControlSetText doesn't work as expected.

Share this post


Link to post
Share on other sites

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  
Followers 0