Jump to content

Recommended Posts

Posted

Hi guys,

I want to manage multiple windows but they all have the same title. I know they have a unique Handle. I'm having a hard time wrapping my head around what strategy to use to manage them.

Any thoughts?

THanks

Posted

If you are running the processes, check out a method in the FAQ... its near the bottom of page 1. You can find it in the sticky in this forum...

Otherwise are there differences with the windows? Check out what the AutoIt info tool tells you about the window. It may have different text or a way to identify it. If they are the same program however, just enum all the windows, pick the ones with the correct titles, and name one hwnd1 and the other hwnd2 etc... :lmao:

Hope that gives you some ideas... :)

Cheers,

Brett

  • 3 weeks later...
Posted

BrettF,

Thanks for the reply. I'm back to this problem again. I have a strategy to rename the windows to different names. It works fine. But the program seems to reset the window titles at some point. Is there a way to manage windows w/o resorting to renaming strategies? Also, I searched the FAQ for the example you refer to but couldn't find it.

Thanks,

Jeff

If you are running the processes, check out a method in the FAQ... its near the bottom of page 1. You can find it in the sticky in this forum...

Otherwise are there differences with the windows? Check out what the AutoIt info tool tells you about the window. It may have different text or a way to identify it. If they are the same program however, just enum all the windows, pick the ones with the correct titles, and name one hwnd1 and the other hwnd2 etc... :)

Hope that gives you some ideas... :)

Cheers,

Brett

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
  • Recently Browsing   0 members

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