Examples of simulating keystrokes delphi delphi simulating keystrokes example, only simulated example of a key only. An analog to a certain time by pressing a button is pressed, delphi7 compile.
10 seconds click the H key, other keys you go to the replacement value of it, a lot online. Just did not see a complete project file so posted it, so this is my rookie to rookie, master of passing ..
This is what I find:
Attachment: More detailed key table:
constant hexadecimal value Decimal name the value of the corresponding key
VK_LBUTTON 01 1 mouse left
VK_RBUTTON 02 2 right mouse
VK-CANCEL 03 3 Ctrl + Break ( usually do not require treatment)
VK_MBUTTON 04 middle mouse button. 4 (three-button mouse)
VK_BACK the Backspace key 08. 8
VK_TAB 09 9 Tab key
VK_CLEAR 0C 12 Clear key (keypad when Num Lock off. 5)
VK_RETURN 0D 13 is the Enter key
VK_SHIFT 10 16 Shift key
VK_CONTROL 11 17 Ctrl key
VK_MENU 12 18 Alt key
VK_PAUSE 13 19 Pause key
VK_CAPITAL 14 20 Caps Lock key
VK_ESCAPE 1B 27 Ese key
VK_SPACE 20 32 Spacebar key
VK_PRIOR 21 33 Page Up key
VK_NEXT 22 34 Page Domw key
VK_END 23 35 End key
VK_HOME 24 36 Home button
VK_LEFT 25 37 LEFT ARROW key (←)
VK_UP 26 is 38 is the UP ARROW key (↑)
VK_RIGHT 27 39 RIGHT ARROW key (→)
VK_DOWN 28 40 DOWN ARROW key (↓)
VK_Select 41 is the Select key 29
VK_PRINT. 2A 42 is
VK_EXECUTE 2B the EXECUTE key 43 is
VK_SNAPSHOT 2C 44 Print Screen key (screen shot)
VK_INSERT 2D 45 lns keys (keypad when Num Lock off 0)
VK_DELETE Del 46 is 2E key (numeric keypad when Num Lock off.)
VK_HELP. 2F 47 Help key
VK_0 30 48 0 key
VK_1 31 49 1 bond
VK_2 32 50 2 bond
VK_3 33 51 3 bond
VK_4 34 52 4 key
VK_5 35 53 5 bond
VK_6 36 54 6 key
VK_7 37 55 7 bond
VK_8 38 56 8 keys
VK_9 39 57 9 key
VK_A 41 65 A key
VK_B 42 66 B bond
VK_C 43 67 C bond
VK_D 44 68 D key
VK_E 45 69 E key
VK_F 46 70 F key
VK_G 47 71 G key
VK_H 48 72 H bonds
VK_I 49 73 I keys
VK_J 4A 74 J key
VK_K 4B 75 K key
VK_L 4C 76 L key
VK_M 4D 77 M key
VK_N 4E 78 N bond
VK_O 4F 79 O bond
VK_P 50 80 P bond
VK_Q 51 81 Q key
VK_R 52 82 R bond
VK_S 53 83 S bond
VK_T 54 84 T key
VK_U 55 85 U key
VK_V 56 86 V key
VK_W 57 87 W key
VK_X 58 88 X bond
VK_Y 59 89 Y bond
VK_Z 5A 90 Z bond
VK_NUMPAD0 60 96 key numeric keys 0
VK_NUMPAD1 61 97 number keys 1 key
VK_NUMPAD2 62 98 number keys 2 keys
VK_NUMPAD3 62 99 number keys 3 keys
VK_NUMPAD4 64 100 numeric keys 4 keys
VK_NUMPAD5 65 101 5 key keys
VK_NUMPAD6 66 102 the number keys 6 keys
VK_NUMPAD7 67 103 numeric keys 7 keys
VK_NUMPAD8 68104 numeric keys 8 keys
VK_NUMPAD9 69 105 numeric keys 9 keys
* key on VK_MULTIPLY 6A 106 numeric keypad
VK_ADD + on 6B 107 numeric keypad keys
VK_SEPARATOR 6C 108 Separator keys
on VK_SUBTRACT 6D 109 numeric keypad - keys
VK_DECIMAL 6E 110 numeric keypad on the key
VK_DIVIDE / key on 6F 111 numeric keypad
VK_F1 70 112 F1 key
VK_F2 71 113 F2 key
VK_F3 72 114 F3 key
VK_F4 73 115 F4 key
VK_F5 74 116 F5 key
VK_F6 75 117 F6 key
VK_F7 76 118 F7 key
VK_F8 77 119 F8 key
VK_F9 78 120 F9 key
VK_F10 79 121 F10 key
VK_F11 7A 122 F11 key
VK_F12 7B 123 F12 key
VK_NUMLOCK 90 144 Num Lock key
VK_SCROLL 91 145 Scroll Lock key
:( not mentioned above are large keyboard)
VK_LWIN win key 91 is left
VK_RWIN 92 right win key
VK_APPS 93 left and right Ctrl key, click on the right mouse button is equivalent to, the shortcut menu will pop
186; (semicolon)
187 = key
188 keys (comma)
189-- key (minus)
. 190 bar (period)
191 / key
192 `key (Esc below)
219 [key
220 key
221] button
222 'key (marks)
Delphi virtual key code corresponding to the key
VK_LBUTTON left mouse button
VK_RBUTTON right
VKCANCEL control + rest
VK_MBUTTON mouse button
VK_BACK Backspace key
VK_TAB Tab key
VK_CLEAR clear main
VK_RETURN Enter key
VK_SHIFT Shift key
VK_NUMPAD2 2 keys (keypad)
VK_NUMPAD3. 3 key (numeric keypad)
VK_NUMPAD4. 4 keys (keypad)
VK_NUMPAD7. 7 key (numeric keypad)
VK_NUMPAD8. 8 keys (keypad)
VK_SEPARATOR isolated key (numeric keypad)
VK_SUBTRACT minus key (numeric keypad)
VK_DECIMAL decimal point key (numeric keypad)
VK_DIVIDE divide key (numeric keypad)
VK_F1 F1 key
VK_F2 F2 key
key VK_F3 F3 of
VK_F4 F4 key
VK_F5 F5 key
VK_F6 F6 key
VK_F7 F7 key
VK_F12 F12 key
VK_F13 F13 key
VK_F14 F14 key
VK_F15 F15 key
VK_F16 F16 key
VK_F21 F21 key
VK_F22 F22 key
VK_F23 F23 key
Delphi timer routine simulating keystrokes
Guess you like
Origin www.cnblogs.com/blogpro/p/11446100.html
Ranking