Jump to content

Recommended Posts

Posted

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

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

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

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
×
×
  • Create New...