^this
Code:
Run("notepad.exe")
WinWaitActive("Unbenannt - Editor")
Sleep(1000)
ControlSend("Unbenannt - Editor", "", "", "hallo")