;-- TIME_STAMP 2019-10-15 18:17:55 Global Const $VK_LBUTTON = 0x1 ; Linker Mausbutton Global Const $VK_RBUTTON = 0x2 ; Rechter Mausbutton Global Const $VK_MBUTTON = 0x4 ; Mittlerer Mausbutton Global Const $VK_BACK = 0x8 ; Backspace Taste Global Const $VK_TAB = 0x9 ; Tab Taste Global Const $VK_CLEAR = 0xC ; Numpad 5 ohne Numlock Global Const $VK_RETURN = 0xD ; Enter Taste Global Const $VK_SHIFT = 0x10 ; Shift Taste Global Const $VK_CONTROL = 0x11 ; STRG Taste Global Const $VK_MENU = 0x12 ; Alt Taste Global Const $VK_PAUSE = 0x13 ; Pause/Untbr Global Const $VK_CAPITAL = 0x14 ; Caps Lock/Feststelltaste Global Const $VK_ESCAPE = 0x1B ; Escape Global Const $VK_SPACE = 0x20 ; Space/Leertaste Global Const $VK_PRIOR = 0x21 ; PageUp/Bild hoch Global Const $VK_NEXT = 0x22 ; PageDown/Bild runter Global Const $VK_END = 0x23 ; Ende Global Const $VK_HOME = 0x24 ; Home/Pos1 Global Const $VK_LEFT = 0x25 ; Linke Pfeiltaste Global Const $VK_UP = 0x26 ; Obere Pfeiltaste Global Const $VK_RIGHT = 0x27 ; Rechte Pfeiltaste Global Const $VK_DOWN = 0x28 ; Untere Pfeiltaste Global Const $VK_PRINT = 0x2A ; Drucken (Nokia Tastaturen) Global Const $VK_SNAPSHOT = 0x2C ; Drucken/S-Abf Global Const $VK_INSERT = 0x2D ; Einfügen Global Const $VK_DELETE = 0x2E ; Entfernen Global Const $VK_HELP = 0x2F ; Hilfe Global Const $VK_0 = 0x30 ; Taste 0 Global Const $VK_1 = 0x31 ; Taste 1 Global Const $VK_2 = 0x32 ; Taste 2 Global Const $VK_3 = 0x33 ; Taste 3 Global Const $VK_4 = 0x34 ; Taste 4 Global Const $VK_5 = 0x35 ; Taste 5 Global Const $VK_6 = 0x36 ; Taste 6 Global Const $VK_7 = 0x37 ; Taste 7 Global Const $VK_8 = 0x38 ; Taste 8 Global Const $VK_9 = 0x39 ; Taste 9 Global Const $VK_A = 0x41 ; Taste A Global Const $VK_B = 0x42 ; Taste B Global Const $VK_C = 0x43 ; Taste C Global Const $VK_D = 0x44 ; Taste D Global Const $VK_E = 0x45 ; Taste E Global Const $VK_F = 0x46 ; Taste F Global Const $VK_G = 0x47 ; Taste G Global Const $VK_H = 0x48 ; Taste H Global Const $VK_I = 0x49 ; Taste I Global Const $VK_J = 0x4A ; Taste J Global Const $VK_K = 0x4B ; Taste K Global Const $VK_L = 0x4C ; Taste L Global Const $VK_M = 0x4D ; Taste M Global Const $VK_N = 0x4E ; Taste N Global Const $VK_O = 0x4F ; Taste O Global Const $VK_P = 0x50 ; Taste P Global Const $VK_Q = 0x51 ; Taste Q Global Const $VK_R = 0x52 ; Taste R Global Const $VK_S = 0x53 ; Taste S Global Const $VK_T = 0x54 ; Taste T Global Const $VK_U = 0x55 ; Taste U Global Const $VK_V = 0x56 ; Taste V Global Const $VK_W = 0x57 ; Taste W Global Const $VK_X = 0x58 ; Taste X Global Const $VK_Y = 0x59 ; Taste Y Global Const $VK_Z = 0x5A ; Taste Z Global Const $VK_STARTKEY = 0x5B ; Startmenütaste Global Const $VK_CONTEXTKEY = 0x5D ; Kontextmenü Global Const $VK_NUMPAD0 = 0x60 ; Numpad Taste 0 Global Const $VK_NUMPAD1 = 0x61 ; Numpad Taste 1 Global Const $VK_NUMPAD2 = 0x62 ; Numpad Taste 2 Global Const $VK_NUMPAD3 = 0x63 ; Numpad Taste 3 Global Const $VK_NUMPAD4 = 0x64 ; Numpad Taste 4 Global Const $VK_NUMPAD5 = 0x65 ; Numpad Taste 5 Global Const $VK_NUMPAD6 = 0x66 ; Numpad Taste 6 Global Const $VK_NUMPAD7 = 0x67 ; Numpad Taste 7 Global Const $VK_NUMPAD8 = 0x68 ; Numpad Taste 8 Global Const $VK_NUMPAD9 = 0x69 ; Numpad Taste 9 Global Const $VK_MULTIPLY = 0x6A ; Numpad Multiplikations Taste (*) Global Const $VK_ADD = 0x6B ; Numpad Additions Taste (+) Global Const $VK_SUBTRACT = 0x6D ; Numpad Subtraktions Taste (-) Global Const $VK_DECIMAL = 0x6E ; Numpad Komma Taste (,) Global Const $VK_DIVIDE = 0x6F ; Numpad Divisions Taste (/) Global Const $VK_F1 = 0x70 ; F1 Taste Global Const $VK_F2 = 0x71 ; F2 Taste Global Const $VK_F3 = 0x72 ; F3 Taste Global Const $VK_F4 = 0x73 ; F4 Taste Global Const $VK_F5 = 0x74 ; F5 Taste Global Const $VK_F6 = 0x75 ; F6 Taste Global Const $VK_F7 = 0x76 ; F7 Taste Global Const $VK_F8 = 0x77 ; F8 Taste Global Const $VK_F9 = 0x78 ; F9 Taste Global Const $VK_F10 = 0x79 ; F10 Taste Global Const $VK_F11 = 0x7A ; F11 Taste Global Const $VK_F12 = 0x7B ; F12 Taste Global Const $VK_F13 = 0x7C ; F13 Taste Global Const $VK_F14 = 0x7D ; F14 Taste Global Const $VK_F15 = 0x7E ; F15 Taste Global Const $VK_F16 = 0x7F ; F16 Taste Global Const $VK_F17 = 0x80 ; F17 Taste Global Const $VK_F18 = 0x81 ; F18 Taste Global Const $VK_F19 = 0x82 ; F19 Taste Global Const $VK_F20 = 0x83 ; F20 Taste Global Const $VK_F21 = 0x84 ; F21 Taste Global Const $VK_F22 = 0x85 ; F22 Taste Global Const $VK_F23 = 0x86 ; F23 Taste Global Const $VK_F24 = 0x87 ; F24 Taste Global Const $VK_NUMLOCK = 0x90 ; Numlock Taste Global Const $VK_OEM_SCROLL = 0x91 ; Scroll Lock Global Const $VK_LSHIFT = 0xA0 ; Linke Shift-Taste Global Const $VK_RSHIFT = 0xA1 ; Rechte Shift-Taste Global Const $VK_LCONTROL = 0xA2 ; Linke STRG-Taste Global Const $VK_RCONTROL = 0xA3 ; Rechte STRG-Taste Global Const $VK_LMENU = 0xA4 ; Linke ALT-Taste Global Const $VK_RMENU = 0xA5 ; Rechte ALT-Taste Global Const $VK_OEM_1 = 0xBA ; "Ü"-Taste Global Const $VK_OEM_PLUS = 0xBB ; "+" Global Const $VK_OEM_COMMA = 0xBC ; ","-Taste Global Const $VK_OEM_MINUS = 0xBD ; "-"-Taste Global Const $VK_OEM_PERIOD = 0xBE ; "."-taste Global Const $VK_OEM_2 = 0xBF ; "#"-Taste Global Const $VK_OEM_3 = 0xC0 ; "Ö"-Taste Global Const $VK_OEM_4 = 0xDB ; "ß"-Taste Global Const $VK_OEM_5 = 0xDC ; "^"-Taste Global Const $VK_OEM_6 = 0xDD ; "´"-Taste Global Const $VK_OEM_7 = 0xDE ; "Ä" Global Const $VK_ICO_F17 = 0xE0 ; F17 einer Olivette Tastatur (Intern) Global Const $VK_ICO_F18 = 0xE1 ; F18 einer Olivette Tastatur (Intern) Global Const $VK_OEM102 = 0xE2 ; "<"-Taste oder "|"-Taste einer IBM-Kompatiblen 102 Tastatur (Nicht US) Global Const $VK_ICO_HELP = 0xE3 ; Hilfetaste einer Olivetti Tastatur (Intern) Global Const $VK_ICO_00 = 0xE4 ; 00-Taste einer Olivetti Tastatur (Intern) Global Const $VK_ICO_CLEAR = 0xE6 ; Löschen Taste einer Olivetti Tastatur (Intern) Global Const $VK_OEM_RESET = 0xE9 ; Reset Taste (Nokia) Global Const $VK_OEM_JUMP = 0xEA ; Springen Taste (Nokia) Global Const $VK_OEM_PA1 = 0xEB ; PA1 Taste (Nokia) Global Const $VK_OEM_PA2 = 0xEC ; PA2 Taste (Nokia) Global Const $VK_OEM_PA3 = 0xED ; PA3 Taste (Nokia) Global Const $VK_OEM_WSCTRL = 0xEE ; WSCTRL Taste (Nokia) Global Const $VK_OEM_CUSEL = 0xEF ; WSCTRL Taste (Nokia) Global Const $VK_OEM_ATTN = 0xF0 ; ATTN Taste (Nokia) Global Const $VK_OEM_FINNISH = 0xF1 ; Fertig Taste (Nokia) Global Const $VK_OEM_COPY = 0xF2 ; Kopieren Taste (Nokia) Global Const $VK_OEM_AUTO = 0xF3 ; Auto Taste (Nokia) Global Const $VK_OEM_ENLW = 0xF4 ; ENLW Taste (Nokia) Global Const $VK_OEM_BACKTAB = 0xF5 ; BackTab Taste (Nokia) Global Const $VK_ATTN = 0xF6 ; ATTN-Taste Global Const $VK_CRSEL = 0xF7 ; CRSEL-Taste Global Const $VK_EXSEL = 0xF8 ; EXSEL-Taste Global Const $VK_EREOF = 0xF9 ; EREOF-Taste Global Const $VK_PLAY = 0xFA ; PLAY-Taste Global Const $VK_ZOOM = 0xFB ; ZOOM-Taste Global Const $VK_NONAME = 0xFC ; NONAME-Taste Global Const $VK_PA1 = 0xFD ; PA1-Taste Global Const $VK_OEM_CLEAR = 0xFE ; OEM_CLEAR-Taste Func _VKCodeName($_vkCode) Local Static $aCode[][2] = [ _ [0x1 ,'VK_LBUTTON'], _ [0x2 ,'VK_RBUTTON'], _ [0x4 ,'VK_MBUTTON'], _ [0x8 ,'VK_BACK'], _ [0x9 ,'VK_TAB'], _ [0xC ,'VK_CLEAR'], _ [0xD ,'VK_RETURN'], _ [0x10,'VK_SHIFT'], _ [0x11,'VK_CONTROL'], _ [0x12,'VK_MENU'], _ [0x13,'VK_PAUSE'], _ [0x14,'VK_CAPITAL'], _ [0x1B,'VK_ESCAPE'], _ [0x20,'VK_SPACE'], _ [0x21,'VK_PRIOR'], _ [0x22,'VK_NEXT'], _ [0x23,'VK_END'], _ [0x24,'VK_HOME'], _ [0x25,'VK_LEFT'], _ [0x26,'VK_UP'], _ [0x27,'VK_RIGHT'], _ [0x28,'VK_DOWN'], _ [0x2A,'VK_PRINT'], _ [0x2C,'VK_SNAPSHOT'], _ [0x2D,'VK_INSERT'], _ [0x2E,'VK_DELETE'], _ [0x2F,'VK_HELP'], _ [0x30,'VK_0'], _ [0x31,'VK_1'], _ [0x32,'VK_2'], _ [0x33,'VK_3'], _ [0x34,'VK_4'], _ [0x35,'VK_5'], _ [0x36,'VK_6'], _ [0x37,'VK_7'], _ [0x38,'VK_8'], _ [0x39,'VK_9'], _ [0x41,'VK_A'], _ [0x42,'VK_B'], _ [0x43,'VK_C'], _ [0x44,'VK_D'], _ [0x45,'VK_E'], _ [0x46,'VK_F'], _ [0x47,'VK_G'], _ [0x48,'VK_H'], _ [0x49,'VK_I'], _ [0x4A,'VK_J'], _ [0x4B,'VK_K'], _ [0x4C,'VK_L'], _ [0x4D,'VK_M'], _ [0x4E,'VK_N'], _ [0x4F,'VK_O'], _ [0x50,'VK_P'], _ [0x51,'VK_Q'], _ [0x52,'VK_R'], _ [0x53,'VK_S'], _ [0x54,'VK_T'], _ [0x55,'VK_U'], _ [0x56,'VK_V'], _ [0x57,'VK_W'], _ [0x58,'VK_X'], _ [0x59,'VK_Y'], _ [0x5A,'VK_Z'], _ [0x5B,'VK_STARTKEY'], _ [0x5D,'VK_CONTEXTKEY'], _ [0x60,'VK_NUMPAD0'], _ [0x61,'VK_NUMPAD1'], _ [0x62,'VK_NUMPAD2'], _ [0x63,'VK_NUMPAD3'], _ [0x64,'VK_NUMPAD4'], _ [0x65,'VK_NUMPAD5'], _ [0x66,'VK_NUMPAD6'], _ [0x67,'VK_NUMPAD7'], _ [0x68,'VK_NUMPAD8'], _ [0x69,'VK_NUMPAD9'], _ [0x6A,'VK_MULTIPLY'], _ [0x6B,'VK_ADD'], _ [0x6D,'VK_SUBTRACT'], _ [0x6E,'VK_DECIMAL'], _ [0x6F,'VK_DIVIDE'], _ [0x70,'VK_F1'], _ [0x71,'VK_F2'], _ [0x72,'VK_F3'], _ [0x73,'VK_F4'], _ [0x74,'VK_F5'], _ [0x75,'VK_F6'], _ [0x76,'VK_F7'], _ [0x77,'VK_F8'], _ [0x78,'VK_F9'], _ [0x79,'VK_F10'], _ [0x7A,'VK_F11'], _ [0x7B,'VK_F12'], _ [0x7C,'VK_F13'], _ [0x7D,'VK_F14'], _ [0x7E,'VK_F15'], _ [0x7F,'VK_F16'], _ [0x80,'VK_F17'], _ [0x81,'VK_F18'], _ [0x82,'VK_F19'], _ [0x83,'VK_F20'], _ [0x84,'VK_F21'], _ [0x85,'VK_F22'], _ [0x86,'VK_F23'], _ [0x87,'VK_F24'], _ [0x90,'VK_NUMLOCK'], _ [0x91,'VK_OEM_SCROLL'], _ [0xA0,'VK_LSHIFT'], _ [0xA1,'VK_RSHIFT'], _ [0xA2,'VK_LCONTROL'], _ [0xA3,'VK_RCONTROL'], _ [0xA4,'VK_LMENU'], _ [0xA5,'VK_RMENU'], _ [0xBA,'VK_OEM_1'], _ [0xBB,'VK_OEM_PLUS'], _ [0xBC,'VK_OEM_COMMA'], _ [0xBD,'VK_OEM_MINUS'], _ [0xBE,'VK_OEM_PERIOD'], _ [0xBF,'VK_OEM_2'], _ [0xC0,'VK_OEM_3'], _ [0xDB,'VK_OEM_4'], _ [0xDC,'VK_OEM_5'], _ [0xDD,'VK_OEM_6'], _ [0xDE,'VK_OEM_7'], _ [0xE0,'VK_ICO_F17'], _ [0xE1,'VK_ICO_F18'], _ [0xE2,'VK_OEM102'], _ [0xE3,'VK_ICO_HELP'], _ [0xE4,'VK_ICO_00'], _ [0xE6,'VK_ICO_CLEAR'], _ [0xE9,'VK_OEM_RESET'], _ [0xEA,'VK_OEM_JUMP'], _ [0xEB,'VK_OEM_PA1'], _ [0xEC,'VK_OEM_PA2'], _ [0xED,'VK_OEM_PA3'], _ [0xEE,'VK_OEM_WSCTRL'], _ [0xEF,'VK_OEM_CUSEL'], _ [0xF0,'VK_OEM_ATTN'], _ [0xF1,'VK_OEM_FINNISH'], _ [0xF2,'VK_OEM_COPY'], _ [0xF3,'VK_OEM_AUTO'], _ [0xF4,'VK_OEM_ENLW'], _ [0xF5,'VK_OEM_BACKTAB'], _ [0xF6,'VK_ATTN'], _ [0xF7,'VK_CRSEL'], _ [0xF8,'VK_EXSEL'], _ [0xF9,'VK_EREOF'], _ [0xFA,'VK_PLAY'], _ [0xFB,'VK_ZOOM'], _ [0xFC,'VK_NONAME'], _ [0xFD,'VK_PA1'], _ [0xFE,'VK_OEM_CLEAR']] For $i = 0 To UBound($aCode) -1 If $aCode[$i][0] = $_vkCode Then Return $aCode[$i][1] Next EndFunc