Special Keys
These special keys are useful within automation because they
allow you to interact with the system more reliably. For
instance, instead of using a mouseClick to switch
between input fields, you could use send("{TAB}").
Note that these values are case sensitive.
If you want to send a special key that is not on here you can
use keyPress(
int i ) with the integer value of the key you
want to simulate. For many keys you can find this integer value
using the
helper. The integer values found in this
table can also be used.
System Keys
| Alias |
Value |
| {CTRL} |
Control key. |
| {ALT} |
Alt key. |
{ESC}
|
Escape key.
|
| {APPLE} |
Apple key.
|
| {F1-24} |
Any of the functions keys from F1 to F24.
|
Navigation Keys
| Alias |
Value |
| {HOME} |
Home key. |
| {END} |
End key. |
{LEFT}
|
Left arrow key.
|
{RIGHT}
|
Right arrow key.
|
{UP}
|
Up arrow key.
|
{DOWN}
|
Down arrow key.
|
Text Entry Keys
| Alias |
Value |
| {ENTER} |
Enter key. |
| {TAB} |
Tab key. |
{SHIFT}
|
Shift key.
|
| {CAPS} |
Toggles caps lock.
|
| {BACKSPACE} |
Backspace.
|
{DELETE}
|
Normal delete.
|