qwertyqwerty Posted July 17, 2006 Posted July 17, 2006 (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 July 17, 2006 by qwertyqwerty
rakudave Posted July 17, 2006 Posted July 17, 2006 probably, the probelm is the name of the window, not the exitloop... Pangaea Ruler new, UDF: _GUICtrlCreateContainer(), Pangaea Desktops, Pangaea Notepad, SuDoku, UDF: Table
jvanegmond Posted July 18, 2006 Posted July 18, 2006 Opt("WinTitleMatchMode", 2) github.com/jvanegmond
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now