Jump to content

Pitiful easy question but Im tired of looking for answer


Recommended Posts

$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

$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

  • Moderators

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

  • Moderators

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

  • Moderators

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...