RandomGuest Posted August 18, 2007 Share Posted August 18, 2007 (edited) Hello, is there any way to make a button rename the GUIWindow? For example: When I push the button it randomly takes 1 of 100 names(I have written down into the script) and change the name of the current window into it? Thank you . Edit: Thanks Helge . Edited August 18, 2007 by RandomGuest Link to comment Share on other sites More sharing options...
qazwsx Posted August 18, 2007 Share Posted August 18, 2007 winsettitle Link to comment Share on other sites More sharing options...
RandomGuest Posted August 18, 2007 Author Share Posted August 18, 2007 I tried this, and it did not work :S ... Case $button_4 WinSetTitle("Test", "Test", "Test2") Link to comment Share on other sites More sharing options...
Helge Posted August 18, 2007 Share Posted August 18, 2007 $hGUI = GUICreate("", 300, 300) WinSetTitle($hGUI, "", "newTitle") GUISetState() Sleep(2000) 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