Jump to content

2 windows with same title


Recommended Posts

Ok.. well I looked around the forums and of course the wonderful help file but i didnt find what I needed. I have 2 windows running with the exact same name, I need to determine which is which. Is there an easy way to do this? An easy way to explain this would be 2 identical notepads opened. How do I say i want to write hello in the first instance and goodbye in the second?

Any help would be great. Thanks in advance!

Link to comment
Share on other sites

  • Moderators

Even if the two windows have the same title, they will have a unique handle.

WinGetHandle() will be your friend in these situations more so than changing the title or relying on it (as you can change it, it will probably (I know my apps do) end up changing the title back at a later time).

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