Sign in to follow this  
Followers 0
Jdop

Pitiful easy question but Im tired of looking for answer

9 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

$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.

Share this post


Link to post
Share on other sites

$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.

Share this post


Link to post
Share on other sites

WinSetTitle($Form2, '', 'SomeTitle)


[center]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.[/center]

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 by Jdop

Share this post


Link to post
Share on other sites

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.

[center]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.[/center]

Share this post


Link to post
Share on other sites

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.

[center]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.[/center]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0