Hier mal ein Beispiel: Wenn du Alt+ü drückst schreibt er blablabla in den Editor
[autoit]ShellExecute('notepad.exe')
HotKeySet('!ü','Sendtonotepad')
While 1
Sleep(100)
WEnd
Func Sendtonotepad()
WinActivate('Unbenannt')
Send('blablabla')
EndFunc