Keyboard Commands
Type Text via Clipboard Direct Window Entry Block Input Unblock Input |
*Tip:
Be sure to make use of the System Variables link
which allows you to include useful system variables such as "{windir}", "{clipboard}", and "{backspace}"
|
Type
| Type Option | Description |
| Simulated Keypress | This option allows vTask to choose which is the best typing method. It uses the contents of the text and the hardware configuration to determine how to simulate the key presses. Typically, the chosen mode will be a combination of ASCII, ANSI, and OEM character codes. This is the recommended method and default mode, and is used if no other mode is chosen. |
| SendKeys | Functions similar to the Visual Basic SendKeys command (1) (2) . This is a type method provided by Windows. This method can be used with standard text, but may have limitations with international characters. As the Microsoft documentation states, "If your application is intended for international use with a variety of keyboards, the use of Send could yield unpredictable results and should be avoided." |
| *Tip:
Certain programs behave differently depending on the text used.
For example, MS Word 2003 ignores newlines when they are at the end of a line and no characters follow: "abc{linefeed}"
(try pasting from Notepad into Word to confirm this oddity).
MS Excel will try to auto-fill a cell if you start a newline with a space: "abc{return} ".
Be aware of these behaviors when using the TYPE command.
|
Text via Clipboard
Direct Window Entry
Block Input
Unblock Input