Tech63

Newbie Question - Call function after Window has been Activated

4 posts in this topic

#1 ·  Posted (edited)

I'm not sure which variant of the WinActivate to use.

I want to call a custom function only after a specific window appears. Perhaps an IF Then statement containing some form of WinActive?

 

Thanks!

Edited by Tech63

Share this post


Link to post
Share on other sites



While 1

        If Not WinExists(WinGetHandle("Registry Editor")) Then

                ContinueLoop

        Else

                MsgBox(0, "", "Win now exists", 1)

        EndIf

        Sleep(50)

WEnd

 

Share this post


Link to post
Share on other sites

Great! thanks for help!!!!

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