Jump to content

WinGetTitle return more then one window.


Recommended Posts

I'm trying to make WinGetTitle to work with multi windows with same substring of a title.

Example:

I have one window called : Arto - blah blah blah.

Now I open another Arto window.

Heres the problem. WinGetTitle will only return one window.

I have tried to loop thougth but it always counts the same window.

Is there a option to make the function not to count the same window?

Thank you :whistle:

Link to comment
Share on other sites

Åbn hjemmesiderne igennem autoit (læs om IE.au3) Det vil spare dig for en hel del

Well the problem there is the user can open a window with Arto thougth Start Menu and the my program will not get the window.

Besides I'm not using Internet Explore, it's for Firefox.

My program functions:

1. Will make a tooltip in upper left cornor. Which tell you to place the mouse here to "hide" all windows with "arto" in there titlebar.

2. Wait untill the user places the mouse there.

3. If the user places hes mouse there, give the order to find all the windows with "Arto" in titlebar and WinSetState them to @SW_HIDE.

~The problem is that WinGetTitle will only return one window.

4. Now waits to the user place the mouse again in left cornor.

5. Now show them all again.

I have done it all and it works, but only with one window...

Edited by Mr. Zero
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...