Key Codes For SCAR People have been wondeirng how to make scripts press shift, enter, and even PrtSc (printscreen), so I dug up this list off of Kaitnieks Forums. It was created on Kaitnieks by Kylegut. I think there is a list included with SCAR too... To use these keys, we will use: Code (Text): KeyDown(KeyCode); (this will hold down the key) Sleep(time) or wait(time) (this waits before releasing) KeyUp(KeyCode); (this will release the key) I recomend KeyDown because not all games work with the sendkeys one ######### A-Z ######### Code (Text): 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 ######### 0-9 Above A-Z Keys ######### Code (Text): 0 - 48 1 - 49 2 - 50 3 - 51 4 - 52 5 - 53 6 - 54 7 - 55 8 - 56 9 - 57 ######### "F" Keys ######### Code (Text): F1 - 112 F2 - 113 F3 - 114 F4 - 115 F5 - 116 F6 - 117 F7 - 118 F8 - 119 F9 - 120 F10 - 121 F11 - 122 F12 - 123 //in case you have 15 of them F13 - 124 F14 - 125 F15 - 126 ######### Number Pad ######### Code (Text): 0 - 96 1 - 97 2 - 98 3 - 99 4 - 100 5 - 101 6 - 102 7 - 103 8 - 104 9 - 105 Multiply - 106 Add - 107 Enter - 108 Subtract - 109 Decimal - 110 Divide - 111 ######### Other Keys ######### Code (Text): Backspace - 8 Tab - 9 Clear - 12 Enter - 13 // next to a-z Shift - 16 Control - 17 Alt - 18 Capslock - 20 Escape - 27 Spacebar - 32 PageUp - 33 PageDown - 34 End - 35 Home - 36 Left Arrow - 37 Up Arrow - 38 Right Arrow - 39 Down Arrow - 40 Insert - 45 Delete - 46 Help - 47 Numberlock - 144 Semi-Colon / Colon - 186 Equals / Plus - 187 Minus / Underscore - 189 Forward Slash / Question Mark - 191 Apostrophe / Tilde - 192 Open Bracket / Open Brace - 219 Backslash / Seperator - 220 Close Bracket / Close Brace - 221 Quote Key - 222 PrintScreen - 44 "Start" Key - 92 Hope that helps the scripters out there
i will save this dude... im gonna used this for my program im gonna make... but 1st i will study how..to make
Awesome list, thanks! This should be stickied imo. Edit : Doh, didn't realize this had been dead so long.