Sends one or more keystrokes to the active window (as if typed on the keyboard).

SendKeys Method Windows Scripting 5.8 Sends one or more keystrokes to the active window (as if typed on the keyboard). Copy object.SendKeys(string) Arguments object WshShell object. string String value indicating the keystroke(s) you want to send. Remarks Use the SendKeys method to send keystrokes to applications that have no automation interface. Most keyboard characters are represented by a single keystroke. Some keyboard characters are made up of combinations of keystrokes (CTRL+SHIFT+HOME, for example). To send a single keyboard character, send the character itself as the string argument. For example, to send the letter x, send the string argument "x". Note: […]

Read more

How to use the Windows Script Host to read, write, and delete registry keys

The Microsoft Windows Script Host (WSH) is a tool that allows you to run Microsoft Visual Basic Scripting Edition and Microsoft JScript natively within the base operating system, either on Microsoft Windows 95 or Microsoft Windows NT 4.0. It also includes several COM automation methods that allow you to do several handy tasks easily through the Windows Script Host Object Model. The Microsoft Windows Script Host is integrated in Windows 98. It is available for Windows NT 4.0 from within the Windows NT 4.0 Option Pack. It is also available for download from the following site: http://msdn2.microsoft.com/en-us/library/ms950396.aspx The Windows Script […]

Read more