Jump to content
Sign in to follow this  
Jdop

Pitiful easy question but Im tired of looking for answer

Recommended Posts

Jdop

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
Generator

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
Jdop

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

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

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.

Share this post


Link to post
Share on other sites
Jdop

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
SmOke_N

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.

Share this post


Link to post
Share on other sites
SmOke_N

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.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.