PantZ4 Posted March 16, 2007 Share Posted March 16, 2007 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 Link to comment Share on other sites More sharing options...
Shevilie Posted March 16, 2007 Share Posted March 16, 2007 Åbn hjemmesiderne igennem autoit (læs om IE.au3) Det vil spare dig for en hel del Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
PantZ4 Posted March 16, 2007 Author Share Posted March 16, 2007 (edited) Åbn hjemmesiderne igennem autoit (læs om IE.au3) Det vil spare dig for en hel delWell 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 March 16, 2007 by Mr. Zero Link to comment Share on other sites More sharing options...
improbability_paradox Posted March 16, 2007 Share Posted March 16, 2007 look up WinList() Good luck! Link to comment Share on other sites More sharing options...
PantZ4 Posted March 16, 2007 Author Share Posted March 16, 2007 look up WinList()Good luck!Never thought of that. It works! Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now