7.1 Windows Keyboard Functions

The following reference tables list the Windows keyboard functions. You can use these functions in conjunction with the Type command by referencing the appropriate keyboard code.

Do not type quotation marks before and after the keys. In this case the keys are taken literally, as shown in the following table.

Table 7-1 Typing Keys

For this command

Type

Alt+Print Screen

\Alt+\|44

Shift+Home

\Shift+\|36

Shift+End

\Shift+\|35

For more information about the Type command, see Section 5.2.92, Type.

Table 7-2 Windows Keyboard Functions

Function

Decimal

Comment

Left mouse button

1

 

Right mouse button

2

 

CTRL-Break

3

 

Middle mouse button

4

 

X1 mouse button

5

 

X2 mouse button

6

 

Backspace

8

 

Tab

9

 

Clear

12

5 on the keypad

Enter

13

 

Shift

16

 

Ctrl

17

 

Alt

18

 

Pause

19

 

Cap Lock

20

 

Escape

27

 

Space

32

 

PageUp

33

 

PageDown

34

 

End

35

 

Home

36

 

Left-arrow

37

 

Up-arrow

38

 

Right-arrow

39

 

Down

40

 

Select

41

 

Execute

43

 

Print

44

 

Insert

45

 

Delete

46

 

Help Key

47

 

0

48

 

1

49

 

2

50

 

3

51

 

4

52

 

5

53

 

6

54

 

7

55

 

8

56

 

9

57

 

A

65

 

B

66

 

C

67

 

D

68

 

E

69

 

F

70

 

G

71

 

H

72

 

I

73

 

J

74

 

K

75

 

L

76

 

M

77

 

N

78

 

O

79

 

P

80

 

Q

81

 

R

82

 

S

83

 

T

84

 

U

85

 

V

86

 

W

87

 

X

88

 

Y

89

 

Z

90

 

Left Windows Key

91

 

Right Windows Key

92

 

Application Key

93

 

Sleep Key

94

 

Keypad 0

96

 

Keypad 1

97

 

Keypad 2

98

 

Keypad 3

99

 

Keypad 4

100

 

Keypad 5

101

 

Keypad 6

102

 

Keypad 7

103

 

Keypad 8

104

 

Keypad 9

105

 

Keypad asterisk (*)

106

 

Keypad plus sign (+)

107

 

Keypad separator

108

 

Keypad minus sign (-)

109

 

Keypad period (.)

110

 

Keypad slash mark (/)

111

 

F1 key

112

 

F2 key

113

 

F3 key

114

 

F4 key

115

 

F5 key

116

 

F6 key

117

 

F7 key

118

 

F8 key

119

 

F9 key

120

 

F10 key

121

 

F11 key

122

 

F12 key

123

 

F13 key

124

 

F14 key

125

 

F15 key

126

 

F16 key

127

 

F17 key

128

 

F18 key

129

 

F19 key

130

 

F20 key

131

 

F21 key

132

 

F22 key

133

 

F23 key

134

 

F24 key

135

 

Num Lock key

144

 

Scroll Lock

145

 

Left Shift

160

 

Right Shift

161

 

Left Control

162

 

Right Control

163

 

Left Menu

164

 

Right Menu

165

 

Browser Back key

166

Applies to Windows 2000 +

Browser Forward key

167

Applies to Windows 2000 +

Browser Refresh key

168

Applies to Windows 2000 +

Browser Stop key

169

Applies to Windows 2000 +

Browser Search key

170

Applies to Windows 2000 +

Browser Favorites key

171

Applies to Windows 2000 +

Browser Start and Home key

172

Applies to Windows 2000 +

Volume Mute key

173

Applies to Windows 2000 +

Volume Down key

174

Applies to Windows 2000 +

Volume Up key

175

Applies to Windows 2000 +

CD Next Track key

176

Applies to Windows 2000 +

CD Previous Track key

177

Applies to Windows 2000 +

CD Stop Media key

178

Applies to Windows 2000 +

CD Play/Pause key

179

Applies to Windows 2000 +

Launch Mail key

180

Applies to Windows 2000 +

Media Select key

181

Applies to Windows 2000 +

Start Application 1 key

182

Applies to Windows 2000 +

Start Application 2 key

183

Applies to Windows 2000 +

;

186

Semi Colon/Colon

=

187

Equals/Plus Key

,

188

Comma/Less Than

-

189

Minus/Underscore

.

190

Period/Greater Than

/

191

Slash/Question Mark

`

192

Single Open Quote/Tilde

[

219

Left Square/Curley Bracket

\

220

Back slash/Pipe

]

221

Right Square/Curley Bracket

'

222

Single Close Quote Double Quote

Play Key

250

 

Zoom Key

251