RosettaCodeData/Task/Simulate-input-Keyboard/VBScript/simulate-input-keyboard.vbs
2026-04-30 12:34:36 -04:00

5 lines
209 B
Text

Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "{Down}{F2}"
WScript.Sleep 1000 ' one-second delay
WshShell.SendKeys "{Left}{Left}{BkSp}{BkSp}Some text here.~" ' ~ -> Enter