following Posted February 12, 2009 Share Posted February 12, 2009 I need my script to pause until I have minimized a certain window and then continue execution. A WinWaitMinimized function, if you will. Is it possible to accomplish this? Thank you, Joshua Link to comment Share on other sites More sharing options...
monoceres Posted February 12, 2009 Share Posted February 12, 2009 (edited) Func WinWaitState($title,$text,$state) While BitAND(WinGetState($title, $text), $state) <> $state Sleep(25) WEnd EndFunc;==>WinWaitMaximized Check the help file for WinGetState to see which states can be used. Edit: Oh and welcome to the forums Edited February 12, 2009 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
following Posted February 12, 2009 Author Share Posted February 12, 2009 monoceres, That was exactly what I needed - works perfectly now! Thank you, Joshua 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