willwatters Posted October 21, 2004 Share Posted October 21, 2004 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 Link to comment Share on other sites More sharing options...
MHz Posted October 21, 2004 Share Posted October 21, 2004 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? Link to comment Share on other sites More sharing options...
this-is-me Posted October 21, 2004 Share Posted October 21, 2004 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? Link to comment Share on other sites More sharing options...
SlimShady Posted October 21, 2004 Share Posted October 21, 2004 Use ControlSend if ControlSetText doesn't work as expected. Link to comment Share on other sites More sharing options...
SlimShady Posted October 21, 2004 Share Posted October 21, 2004 may need to ControlFocus, then ControlSend...LAr.<{POST_SNAPBACK}>Really? Is that necessary? 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