Jump to content
Sign in to follow this  

exitloop not working

Recommended Posts

I want to wait for winamp to open - I am trying to use while intead of sleep, but the exitloop does not work.

Opt("TrayIconDebug", 1)

$pid_winamp = Run ("C:\Program Files\Winamp\winamp.exe")

WinWaitActive ("Player Window", "")

while 1

if WinActive("Player window", "") then ExitLoop


MsgBox (0, "active", "active")

Edited by qwertyqwerty

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...