Jump to content
Sign in to follow this  
Jefferds44

How do I manage multiple windows w/ same title?

Recommended Posts

Jefferds44

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

Share this post


Link to post
Share on other sites
BrettF

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

Share this post


Link to post
Share on other sites
Jefferds44

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

Share this post


Link to post
Share on other sites
Inverted

What about his idea to enumerate all the windows of that process ?

Share this post


Link to post
Share on other sites
Jefferds44

I'm not sure exactly what that means... ?

What about his idea to enumerate all the windows of that process ?

Share this post


Link to post
Share on other sites
BrettF

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  

×