Advertisement
TheVideoVolcano

AutoIT Keys 2d Array

Dec 2nd, 2021 (edited)
2,412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 4.81 KB | None | 0 0
  1. ;Note could not find the key for # and probably some other keys, probably needs double checking before use aswell
  2.  
  3.  
  4. #cs
  5.     01 Left mouse button
  6.     02 Right mouse button
  7.     03 Control-break processing
  8.     04 Middle mouse button (three-button mouse)
  9.     05 X1 mouse button
  10.     06 X2 mouse button
  11.     08 BACKSPACE key
  12.     09 TAB key
  13.     0C CLEAR key
  14.     0D ENTER key
  15.     10 SHIFT key
  16.     11 CTRL key
  17.     12 ALT key
  18.     13 PAUSE key
  19.     14 CAPS LOCK key
  20.     1B ESC key
  21.     20 SPACEBAR
  22.     21 PAGE UP key
  23.     22 PAGE DOWN key
  24.     23 END key
  25.     24 HOME key
  26.     25 LEFT ARROW key
  27.     26 UP ARROW key
  28.     27 RIGHT ARROW key
  29.     28 DOWN ARROW key
  30.     29 SELECT key
  31.     2A PRINT key
  32.     2B EXECUTE key
  33.     2C PRINT SCREEN key
  34.     2D INS key
  35.     2E DEL key
  36.     30 0 key
  37.     31 1 key
  38.     32 2 key
  39.     33 3 key
  40.     34 4 key
  41.     35 5 key
  42.     36 6 key
  43.     37 7 key
  44.     38 8 key
  45.     39 9 key
  46.     41 A key
  47.     42 B key
  48.     43 C key
  49.     44 D key
  50.     45 E key
  51.     46 F key
  52.     47 G key
  53.     48 H key
  54.     49 I key
  55.     4A J key
  56.     4B K key
  57.     4C L key
  58.     4D M key
  59.     4E N key
  60.     4F O key
  61.     50 P key
  62.     51 Q key
  63.     52 R key
  64.     53 S key
  65.     54 T key
  66.     55 U key
  67.     56 V key
  68.     57 W key
  69.     58 X key
  70.     59 Y key
  71.     5A Z key
  72.     5B Left Windows key
  73.     5C Right Windows key
  74.     5D PopUp Menu Key - Applications key on a Microsoft Natural Keyboard
  75.     60 Numeric keypad 0 key
  76.     61 Numeric keypad 1 key
  77.     62 Numeric keypad 2 key
  78.     63 Numeric keypad 3 key
  79.     64 Numeric keypad 4 key
  80.     65 Numeric keypad 5 key
  81.     66 Numeric keypad 6 key
  82.     67 Numeric keypad 7 key
  83.     68 Numeric keypad 8 key
  84.     69 Numeric keypad 9 key
  85.     6A Multiply key
  86.     6B Add key
  87.     6C Separator key
  88.     6D Subtract key
  89.     6E Decimal key
  90.     6F Divide key
  91.     70 F1 key
  92.     71 F2 key
  93.     72 F3 key
  94.     73 F4 key
  95.     74 F5 key
  96.     75 F6 key
  97.     76 F7 key
  98.     77 F8 key
  99.     78 F9 key
  100.     79 F10 key
  101.     7A F11 key
  102.     7B F12 key
  103.     7C-7F F13 key - F16 key
  104.     80H-87H F17 key - F24 key
  105.     90 NUM LOCK key
  106.     91 SCROLL LOCK key
  107.     A0 Left SHIFT key
  108.     A1 Right SHIFT key
  109.     A2 Left CONTROL key
  110.     A3 Right CONTROL key
  111.     A4 Left MENU key
  112.     A5 Right MENU key
  113.     BA ;
  114.     BB =
  115.     BC ,
  116.     BD -
  117.     BE .
  118.     BF /
  119.     C0 `
  120.     DB [
  121.     DC \
  122.     DD ]
  123.  
  124. #ce
  125.  
  126. ;Note cannot find ' and # keys!
  127.  
  128. Local $keys[][] = [ _
  129. ["01", "<LMOUSE>"], _
  130. ["02", "<RMOUSE>"], _
  131. ["03","CTRL-BREAK"], _
  132. ["04", "<MMOUSE>"], _
  133. ["05", "<X1MOUSE>"], _
  134. ["06", "<X2MOUSE>"], _
  135. ["08", "<BACKSPACE>"], _
  136. ["09", "<TAB>"], _
  137. ["0C", "<CLEAR>"], _
  138. ["0D", "<ENTER>"], _
  139. ["10", "<SHIFT>"], _
  140. ["11", "<CTRL>"], _
  141. ["12", "<ALT>"], _
  142. ["13", "<PAUSE>"], _
  143. ["14", "<CAPSLOCK>"], _
  144. ["1B", "<ESC>"], _
  145. ["20", "<SPACEBAR>"], _
  146. ["21", "<PAGEUP>"], _
  147. ["22", "<PAGEDOWN>"], _
  148. ["23", "<END>"], _
  149. ["24", "<HOME>"], _
  150. ["25", "<LEFT>"], _
  151. ["26", "<UP>"], _
  152. ["27", "<RIGHT>"], _
  153. ["28", "<DOWN>"], _
  154. ["29", "<SELECT>"], _
  155. ["2A", "<PRINT>"], _
  156. ["2B", "<EXECUTE>"], _
  157. ["2C", "<PRINTSCREEN>"], _
  158. ["2D", "<INS>"], _
  159. ["2E", "<DEL>"], _
  160. ["30", "0"], _
  161. ["31", "1"], _
  162. ["32", "2"], _
  163. ["33", "3"], _
  164. ["34", "4"], _
  165. ["35", "5"], _
  166. ["36", "6"], _
  167. ["37", "7"], _
  168. ["38", "8"], _
  169. ["39", "9"], _
  170. ["41", "a"], _
  171. ["42", "b"], _
  172. ["43", "c"], _
  173. ["44", "d"], _
  174. ["45", "e"], _
  175. ["46", "f"], _
  176. ["47", "g"], _
  177. ["48", "h"], _
  178. ["49", "i"], _
  179. ["4A", "j"], _
  180. ["4B", "k"], _
  181. ["4C", "l"], _
  182. ["4D", "m"], _
  183. ["4E", "n"], _
  184. ["4F", "o"], _
  185. ["50", "p"], _
  186. ["51", "q"], _
  187. ["52", "r"], _
  188. ["53", "s"], _
  189. ["54", "t"], _
  190. ["55", "u"], _
  191. ["56", "v"], _
  192. ["57", "w"], _
  193. ["58", "x"], _
  194. ["59", "y"], _
  195. ["5A", "z"], _
  196. ["5B", "<LWIN>"], _
  197. ["5C", "<RWIN>"], _
  198. ["5D", "<PMENU>"], _
  199. ["60", "<NUM0>"], _
  200. ["61", "<NUM1>"], _
  201. ["62", "<NUM2>"], _
  202. ["63", "<NUM3>"], _
  203. ["64", "<NUM4>"], _
  204. ["65", "<NUM5>"], _
  205. ["66", "<NUM6>"], _
  206. ["67", "<NUM7>"], _
  207. ["68", "<NUM8>"], _
  208. ["69", "<NUM9>"], _
  209. ["6A", "<MULTIPLY>"], _
  210. ["6B", "<ADD>"], _
  211. ["6C", "<SEP>"], _
  212. ["6D", "<SUBTRACK>"], _
  213. ["6E", "<DECIMAL>"], _
  214. ["6F", "<DIVIDE>"], _
  215. ["70", "<F1>"], _
  216. ["71", "<F2>"], _
  217. ["72", "<F3>"], _
  218. ["73", "<F4>"], _
  219. ["74", "<F5>"], _
  220. ["75", "<F6>"], _
  221. ["76", "<F7>"], _
  222. ["77", "<F8>"], _
  223. ["78", "<F9>"], _
  224. ["79", "<F10>"], _
  225. ["7A", "<F11>"], _
  226. ["7B", "<F12>"], _
  227. ["7C", "<F13>"], _
  228. ["7D", "<F14>"], _
  229. ["7E", "<F15>"], _
  230. ["7F", "<F16>"], _
  231. ["80H", "<F17>"], _
  232. ["81H", "<F18>"], _
  233. ["82H", "<F19>"], _
  234. ["83H", "<F20>"], _
  235. ["84H", "<F21>"], _
  236. ["85H", "<F22>"], _
  237. ["86H", "<F23>"], _
  238. ["87H", "<F24>"], _
  239. ["90", "<NUMLOCK>"], _
  240. ["91", "<SCROLLLOCK>"], _
  241. ["A0", "<LSHIFT>"], _
  242. ["A1", "<RSHIFT>"], _
  243. ["A2", "<LCTRL>"], _
  244. ["A3", "<RCTRL>"], _
  245. ["A4", "<LMENU>"], _
  246. ["A5", "<RMENU>"], _
  247. ["BA", ";"], _
  248. ["BB", "="], _
  249. ["BC", ","], _
  250. ["BD", "-"], _
  251. ["BE", "."], _
  252. ["BF", "/"], _
  253. ["C0", "`"], _
  254. ["DB", "["], _
  255. ["DC", "\"], _
  256. ["DD", "]"] _
  257. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement