My AutoHotkey v1 code:
Run, notepad Send hello world Send ^s
It only opens Notepad but I want it to also type "hello world" and make it press Crtl+S.