Run("D:\SETUP.EXE") WinWaitActive("Setup Complete", "junk", 1) Send("!c") WinWait("win", "text", 1) WinClose("Shakespeare Interactive")