Sleep(50000) Run("E:\QT16.exe") WinWaitActive("", "Agree") Send("{Enter}") WinWaitActive("Begin Install") Send("!i") WinWaitActive("Check Existing Versions") Send("!s") ;WinWaitActive("System Settings Change") ;Send("!y") WinWaitActive("Complete Install") Send("!i") WinWaitActive("Success") Send("!e") WinWaitActive("Cancel Sample Movie?") Send("!y") WinWait("QuickTime") WinClose("QuickTime") Run("D:\DHWIN31.exe")