Zitat: |
' Open notepad Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "notepad", 9 ' Give Notepad time to load WScript.Sleep(500 ) 'type in Hello World WshShell.SendKeys "Hello" wscript.sleep(2000) WshShell.SendKeys " World!" WshShell.SendKeys "{ENTER}" WshShell.SendKeys "^s" |