All Ascii key codes

Here's a big list of the keycodes you can use when
telling System Events to type one.
keycode: keystroke
0: A
1: S
2: D
3: F
4: H
5: G
6: Z
7: X
8: C
9: V
10: $
11: B
12: Q
13: W
14: E
15: R
16: Y
17: T
18: 1
19: 2
20: 3
21: 4
22: 6
23: 5
24: =
25: 9
26: 7
27: 28: 8
29: 0
30: ]
31: O
32: U
33: [
34: I
35: P
36: Return
37: L

42: \ 43: .38: J 39: ' 40: K 41: . 67: Pad * 69: Pad + 71: Clear 75: Pad / 76: Pad Enter 78: Pad 81: Pad = 82: Pad 0 83: Pad 1 84: Pad 2 85: Pad 3 86: Pad 4 87: Pad 5 88: Pad 6 89: Pad 7 91: Pad 8 92: Pad 9 96: F5 97: F6 98: F7 99: F3 100: F8 101: F9 . 48: Tab 49: Space 50: ` 51: Delete 53: Esc 55: Command 56: Shift 57: Caps Lock 58: Option 59: Control 65: Pad . 44: \/ 45: N 46: M 47: .

103: 105: 107: 109: 111: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: F11 F13 F14 F10 F12 F15 Ins Home Page Up Del F4 End F2 Page Down F1 Left Arrow Right Arrow Down Arrow Up Arrow keystroke: keycode: 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 29 18 19 20 21 23 22 26 28 25 A: B: C: D: E: F: G: H: I: J: 0 11 8 2 14 3 5 4 34 38 .

K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: 40 37 46 45 31 35 12 15 1 17 32 9 13 7 16 6 `: -: .: ': [: ]: /: \: =: $: 50 27 43 41 47 39 33 30 44 42 24 10 F1: 122 F10: 109 F11: 103 F12: 111 F13: 105 F14: 107 F15: 113 F2: 120 F3: 99 F4: 118 F5: 96 F6: 97 F7: 98 F8: 100 .: .: .

: *: /: +: =: 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 78 65 67 75 69 81 82 83 84 85 86 87 88 89 91 92 Return: 36 Pad Enter: 76 Home: 115 End: 119 Page Up: 116 Page Down: 121 Del: 117 Delete: 51 Right Arrow: 124 Left Arrow: 123 Up Arrow: 126 Down Arrow: 125 Esc: 53 Caps Lock: 57 Clear: 71 Command: 55 Control: 59 .F9: 101 Ins: 114 Option: 58 Pad Pad Pad Pad Pad Pad Pad Pad Pad Pad Pad Pad Pad Pad Pad Pad -: .

Shift: 56 Space: 49 Tab: 48 .

Sign up to vote on this title
UsefulNot useful