Magellan Posted June 3, 2008 Share Posted June 3, 2008 hello, I tried many things without success. My problem is quite simple to explain : Is there a way to use te 'winexists' command only on visible windows ? This command works well but returns true if a hidden windows with the title I search exists ! Thanks for your help. Bye. Link to comment Share on other sites More sharing options...
torels Posted June 3, 2008 Share Posted June 3, 2008 $state = WinGetState("mywindow", "") If not BitAnd($state, 2) Then MsgBox(0, "Example", "Window is hidden") EndIf Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
amokoura Posted June 3, 2008 Share Posted June 3, 2008 Is there a way to use te 'winexists' command only on visible windows ?func WinExists_Awesome($title, $text="") If winExists($title, $text) AND _ BitAnd(WinGetState($title, $text), 2 ) Then return True Else return False EndIf EndFunc Link to comment Share on other sites More sharing options...
Magellan Posted June 3, 2008 Author Share Posted June 3, 2008 Thank you for your help amokoura and torels. I will try your suggestions and tell you if it works. Thanks again. Link to comment Share on other sites More sharing options...
amokoura Posted June 3, 2008 Share Posted June 3, 2008 I posted a feature request about this http://svn.autoitscript.com/trac/ticket/343 Link to comment Share on other sites More sharing options...
Magellan Posted June 3, 2008 Author Share Posted June 3, 2008 Thank you. It works fine ! Great ! 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