Jump to content

Recommended Posts

Posted (edited)

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

WEnd

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

Edited by qwertyqwerty

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...