QTP中Mercury.DeviceReplay所用到的VK码

Figure 1 - United States Dvorak

Const

#

Description

VK_ESCAPE

1

Primarily used to cancel a command (instead of pressing Enter) or to escape from a process which may be in an odd state.

VK_1

2

        Numeric Key 1. combined with VK_SHIFT will display
        an exclamation mark depend on your keyboard layout 

VK_2

3

        Numeric Key 1. combined with VK_SHIFT will display
        an at sign depend on your keyboard layout

VK_3

4

        Numeric Key 3. combined with VK_SHIFT will display
        a number sign depend on your keyboard layout

VK_4

5

        Numeric Key 4. combined with VK_SHIFT will display
        a dollar sign depend on your keyboard layout

VK_5

6

        Numeric Key 5. combined with VK_SHIFT will display
        a percent sign depend on your keyboard layout

VK_6

7

        Numeric Key 6. combined with VK_SHIFT will display
        a caret sign depend on your keyboard layout

VK_7

8

        Numeric Key 7. combined with VK_SHIFT will display
        an ampersand sign depend on your keyboard layout

 

<td style="padding-right: 5.4pt; border-top: #ffffff; padding-left: 5.4pt; padding-botto

VK_8

9

        Numeric Key 8. combined with VK_SHIFT will display
        an asterik sign depend on your keyboard layout

VK_9

10

        Numeric Key 9. combined with VK_SHIFT will display
        an open round bracket sign depend on your keyboard layout

VK_0

11

        Numeric Key 0. combined with VK_SHIFT will display
        a close round bracket sign depend on your keyboard layout

VK_MINUS

12

        Minus Key ( - )  and underscore ( _ ) with VK_SHIFT.   
        depends on your keyboard layout.

VK_EQUAL

13

         Equal Key ( = ) Or Plus key ( + ) with VK_SHIFT.   
         Depends on your keyboard layout.

VK_BACKSPACE

14

             Used to delete one character at a time to the left
             of the cursor. You can also click and drag to highlight text and then press the Backspace key to delete text.

VK_TAB

15

           Used to set tab positions in a document. Setting
           tab positions allows you to move the cursor to defined positions, for instance when typing figures in columns. Used in conjunction with the Shift key you can jump to the previous tab position.

VK_Q

16

       Capital Q combined with Shift or CAPS-LOCK pressed

 

VK_W

17

       Capital W combined with Shift or CAPS-LOCK pressed

 

VK_E

18

       Capital E combined with Shift or CAPS-LOCK pressed

 

VK_R

19

       Capital R combined with Shift or CAPS-LOCK pressed

 

VK_TAB

20

Used to set tab positions in a document. Setting tab positions allows you to move the cursor to defined positions, for instance when typing figures in columns. Used in conjunction with the Shift key you can jump to the previous tab position.

VK_Y

21

       Capital Y combined with Shift or CAPS-LOCK pressed

 

VK_U

22

       Capital U combined with Shift or CAPS-LOCK pressed

 

VK_I

23

        Capital I combined with Shift or CAPS-LOCK pressed

 

VK_O

24

       Capital O combined with Shift or CAPS-LOCK pressed


VK_P

25

       Capital P combined with Shift or CAPS-LOCK pressed

 

VK_OBRACKET

26

        Open Square bracket key ( [ ) or Open qurly bracket  
        key ( { ) with VK_SHIFT. depend on your keyboard layout

VK_CBRACKET

27

         Close Square bracket ( ] ) or Close qurly bracket key
         ( } ) with VK_SHIFT. depend on your keyboard layout

VK_RETURN

28

              This key is used to send the cursor to the
              beginning of the next line (for instance when typing text in a word processing package). It is also used to finish a command and tell the computer to execute the command just typed. There are usually two of these keys.

VK_CONTROL

29

           Cannot be used on its own. Used in conjunction with
           other keys to carry out a specific function eg Ctrl/Alt/Del performs a system restart. There are usually two of these keys.

VK_A

30

        Capital A combined with Shift or CAPS-LOCK pressed

 

VK_S

31

        Capital S combined with Shift or CAPS-LOCK pressed

 

VK_D

32

        Capital D combined with Shift or CAPS-LOCK pressed

 

VK_F

33

        Capital F combined with Shift or CAPS-LOCK pressed


VK_G

34

        Capital G combined with Shift or CAPS-LOCK pressed


VK_H

35

        Capital H combined with Shift or CAPS-LOCK pressed


VK_J

36

        Capital H combined with Shift or CAPS-LOCK pressed


VK_K

37

        Capital K combined with Shift or CAPS-LOCK pressed
z

VK_L

38

         Capital L combined with Shift or CAPS-LOCK pressed

 

VK_SEMICOLON

39

       Semicolon sign ( ; ) or Colon sign ( : ) with
       VK_SHIFT. depend on your keyboard layout

VK_SINGLE_QUOTE

40

        Single Quote sign ( ' ) or double quote sign ( " ) with
        VK_SHIFT.
depend on your keyboard layout

VK_APOSTROPHE

41

        apostrophe sign ( ` ) or tiled sign ( ~ ) with 
        VK_SHIFT.
depend on your keyboard

VK_SHIFT

42

               Changes lower case letters to upper case, and
               numbers to symbols. There are usually two of
  these keys.

VB_PIPE

43

        Backslash sign ( \ ) or pipe sign ( | ) with VK_SHIFT.  
        depend on your keyboard layout.

VK_Z

44

        Capital Z combined with Shift or CAPS-LOCK pressed


VK_X

45

        Capital X combined with Shift or CAPS-LOCK pressed


VK_C

46

        Capital C combined with Shift or CAPS-LOCK pressed


VK_V

47

        Capital V combined with Shift or CAPS-LOCK pressed


VK_B

48

        Capital B combined with Shift or CAPS-LOCK pressed
 

VK_N

49

        Capital B combined with Shift or CAPS-LOCK pressed


你可能感兴趣的:(F#,J#,vb)