- 1). Open a text editor.
- 2). Paste the following:
Set control = WScript.CreateObject("WScript.Shell")
control.run "notepad"
control.appActivate "Notepad"
control.SendKeys "{TAB} Hello. {TAB} How are you? {TAB} Very well, thank you."
This will send the text "Hello. How are you? Very well, thank you." to Notepad with a tab separating each sentence. - 3). Save with a name that ends in VBS, such as "tabberTutorial.vbs." Double-click the new file to test the script.
SHARE