Jdop Posted July 13, 2007 Share Posted July 13, 2007 When theres 10,000 needles, that haystack is a bitch. Need to change the caption on a gui window. Prob the only one here that doesnt know that in his sleep. Link to comment Share on other sites More sharing options...
xcal Posted July 13, 2007 Share Posted July 13, 2007 WinSetTitle maybe. How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
Generator Posted July 13, 2007 Share Posted July 13, 2007 When theres 10,000 needles, that haystack is a bitch. Need to change the caption on a gui window. Prob the only one here that doesnt know that in his sleep.What do you want exactly? Didn't quite catch you there. Link to comment Share on other sites More sharing options...
Jdop Posted July 13, 2007 Author Share Posted July 13, 2007 $Form2 = GUICreate("AForm2", 176, 530, 979, 360) This is the main Autoit form . I want to change that title on the fly, without having to know the current title, which WinSetTitle requires. Should be real easy since I know the handle already. Link to comment Share on other sites More sharing options...
Generator Posted July 13, 2007 Share Posted July 13, 2007 $Form2 = GUICreate("AForm2", 176, 530, 979, 360)This is the main Autoit form . I want to change that title on the fly, without having to know the current title, which WinSetTitle requires. Should be real easy since I know the handle already.Then replace the orginal title with the hwd. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 13, 2007 Moderators Share Posted July 13, 2007 WinSetTitle($Form2, '', 'SomeTitle) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Jdop Posted July 13, 2007 Author Share Posted July 13, 2007 (edited) Thanks smoke. Is it my imagination, or do the docs imply that you need to specify a "string" name and not a handle. Edited July 13, 2007 by Jdop Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 13, 2007 Moderators Share Posted July 13, 2007 Thanks smoke. Is it my imagination, or do the docs imply that you need to specify a "string" name and not a handle.I don't get that from the docs at all. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 13, 2007 Moderators Share Posted July 13, 2007 Thanks smoke. Is it my imagination, or do the docs imply that you need to specify a "string" name and not a handle.I don't get that from the docs at all. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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