Using the Tsendkey98 component makes it simple to send Keystrokes to any application. This now includes Windows 98 and Windows 2000*. Once the control is installed all you need to is set a couple of properties and call one of three built in functions.
VK Keys |
Token |
Inline Trigger |
VK_CONTROL |
{CTRL} |
^ |
VK_MENU |
{ALT} or {MENU} |
@ |
VK_SHIFT |
{SHIFT} |
~ |
VK_SPACE |
{SPACE} |
|
VK_F1..VK_F2 |
{F1}..{F12} |
|
VK_INSERT |
{INSERT} |
|
VK_DELETE |
{DELETE} or {DEL} |
|
VK_HOME |
{HOME} |
|
VK_END |
{END} |
|
VK_PRIOR |
{PGUP} |
|
VK_NEXT |
{PGDN} |
|
VK_TAB |
{TAB} |
|
VK_RETURN |
{ENTER} |
|
VK_BACK |
{BKSP} |
|
VK_SNAPSHOT |
{PRTSC} |
|
VK_ESCAPE |
{ESCAPE} or {ESC} |
|
VK_LWIN |
{WIN} |
|
VK_RWIN |
{START} |
|
VK_APPS |
{APPS} |
|
VK_UP |
{UP} |
|
VK_DOWN |
{DOWN} or {DN} |
|
VK_LEFT |
{LEFT} or {L} |
|
VK_RIGHT |
{RIGHT} or {R} |
|
VK_NUMPAD0..VK_NUMPAD9 |
{NUM0}..{NUM9} |
|
VK_MULTIPLY |
{MULTI} |
|
VK_ADD |
{ADD} |
|
VK_SEPARATOR |
{SEPARAT} |
|
VK_SUBTRACT |
{SUBTRCT} |
|
VK_DECIMAL |
{DECIMAL} |
|
VK_DIVIDE |
{DIVIDE} |
|
*) Testing of Tsendkey98 on Windows 2000 has not been
completed.