Jump to content
Sign in to follow this  
following

Need something like WinWaitMinimized

Recommended Posts

following

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

Share this post


Link to post
Share on other sites
monoceres

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 by monoceres

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
following

monoceres,

That was exactly what I needed - works perfectly now!

Thank you,

Joshua

Share this post


Link to post
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
Sign in to follow this  

×