behdadsoft Posted April 3, 2021 Share Posted April 3, 2021 (edited) Hi. I tried to get text from textbox in setup file using ControlGetText(). it work fine, but when I click on Next Button and then click on Back Button, ControlGetText() don't read text from textbox anymore. Local $title = "Window" if WinExists(title) Then WinWaitActive($title, "") $readtext = ControlGetText($title, "", "[CLASS:TEdit; INSTANCE:1]") Msgbox(0, "", readtext) Endif Edited April 3, 2021 by behdadsoft Link to comment Share on other sites More sharing options...
JackER4565 Posted April 4, 2021 Share Posted April 4, 2021 Maybe the class or instance changed? or you need to run it again? Link to comment Share on other sites More sharing options...
argumentum Posted April 4, 2021 Share Posted April 4, 2021 you have an "If", so after that, it is done. If there was a "While" loop then it'd do that you say. behdadsoft 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. 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