Keys and Key Combinations
For the Keys argument, you can use keys or key combinations. You can type a character, such as "a" or use codes from the table below:
Key
|
|
BACKSPACE
|
|
BREAK
|
|
CAPS LOCK
|
|
CLEAR
|
|
DELETE or DEL
|
|
DOWN ARROW
|
|
END
|
|
ENTER (numeric keypad)
|
|
ENTER
|
|
ESC
|
|
HELP
|
|
HOME
|
|
INS
|
|
LEFT ARROW
|
|
NUM LOCK
|
|
PAGE DOWN
|
|
PAGE UP
|
|
RETURN
|
|
RIGHT ARROW
|
|
SCROLL LOCK
|
|
TAB
|
|
UP ARROW
|
|
F1 through F15
|
|
To combine keys with Ctrl, Shift and/or Alt, precede the character with the following codes. For example:
SendKeys "^{F2}" ...for Ctrl+ F2
SendKeys "^{F2}" ...for Ctrl+ F2
Key
|
|
SHIFT
|
|
CTRL
|
|
ALT
|
|
No comments:
Post a Comment