The trick is to use WinWaitActive for windows to pop up and have focus (be the active window). for example: Run, c:\temp\install\setup.exe ; WinWaitActive, Choose Setup Language, Select the language Send, {ENTER} ; WinWait, Welcome, Welcome to the Setup program. WinActivate, Welcome, Welcome to the Setup program. Send, !n ; Notice the bottom 3 lines. I wait for the window I want to exist. Then I activate the window. Then I send keys to that window.