MrNoJK Posted October 17, 2012 Share Posted October 17, 2012 (edited) Hi, Lets say I have this script: $MainForm = GUICreate( "MainForm", 200, 200 ) $lblTest = GUICtrlCreateLabel( "Test", 75, 75, 50, 50 ) GUISetState( @SW_SHOW ) While True Sleep ( 100 ) WEnd Would it be possible to change this label with another autoit script? Edited October 17, 2012 by MrNoJK Link to comment Share on other sites More sharing options...
MrNoJK Posted October 17, 2012 Author Share Posted October 17, 2012 Okay so I actually already figured it out. For the people who want to know, this script would change this labels text: ControlSetText( "MainForm", "", "[ID:3]", "Text changed!" ) Here 3 is the ID of the control which can be obtained by writing and reading from a file or using the autoit window info tool 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