Run("notepad") WinWaitActive("Untitled - Notepad") Send("The answer is 42")