Keyboard Typing Simulation

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Keyboard Typing Simulation >

Keyboard Typing Simulation

Keyboard-Simulation Keycode List

Previous Top Next


MiniRobotLanguage (MRL)

 

Keycode-List

Key Code List

 

graphic

 

Intention

 

These Keycodes are available with KYD., KYU., SKP. and other Compatible Engine Keyboard-Typing Commands.

 

This is the most compatible and "Low Level" Keyboard simulation we have. Using these commands, you can even make window to bring up the Task-Manager, by simulating a Key-press:

 

' Bring Windows Task-Manager up

KYD.{STRG},{SHIFT},{ESC}

PAU.0.100

KYU.{STRG},{SHIFT},{ESC}

ENR.

 

' This example will open a Menu in Photoimpact

' using the SHFT-CTRL-S Key-Combination

'

STW.ct|IE3_CLASS|PhotoImpact -

SCW.nc|1|Afx:400000:0:10013:0:0

KYD.{SHIFT},{CTRL}

SKP.s

KYU.{SHIFT},{CTRL}

PAU.0.2

RET.

 

You can read more about Keyboard-Simulation and Text-Boxes in the chapter:

1.9.1.6 Edit-Textbox Control

 

 

 

Keycode-List

 

Low-Level-Keycodes:

 

Special-            Keycode       Simulates:

Sequence

{LMB}               -  1   -  Left MouseButton

{RMB}               -  2   -  Right MouseButton

{CANCEL}            -  3   -  Click on CANCEL (see 30)

{MMB}               -  4   -  Middle Mouse Button

{MSX1}              -  5   -  Mouse-X1 Key  

{MSX2}              -  6   -  Mouse-X2 Key  

{BS},{BACKSPACE}    -  8   -  BACKSPACE (deletes to left side)

{TAB}               -  9   -  TAB

{DEL},{CLEAR}       -  12  -  Delete-Key (deletes to right side),

                             see also 46

{RETURN}            -  13  -  RETURN-Key

{SHIFT}             -  16  -  SHIFT-Key (general), for L/R

                             see 160,161

{CTRL},{STRG}       -  17  -  CTRL-Key (general), for L/R

                             see 162,163

{ALT},{MENU}        -  18  -  ALT-/MENU-Key (general), for L/R

                             see 164 and 165

{PAUSE}             -  19  -  PAUSE-Key

{CAPSLOCK}          -  20  -  CAPS-LOCK - Key

{KANA}              -  21  -  KANA-Key,HANGUL-Key

{JUNJA}             -  23  -  JUNJA-Key,

{FINAL}             -  24  -  FINAL-Key

{KANJI}             -  25  -  KANJI-Key, HANJA-Key

{ESC}               -  27  -  ESCAPE-Key

{CONVERT}           -  28  -  CONVERT-Key

{NOCONVERT}         -  29  -  NOCONVERT-Key

{ACCEPT}            -  30  -  ACCEPT-Button (see 3)

{MODECHANGE}        -  31  -  MODECHANGE-Key

{SPACE}             -  32  -  SPACE-key

{PAGEUP},{PGUP]     -  33  -  PAGE-UP Key

{PAGEDOWN},{PGDN}   -  34  -  PAGE-DOWN

{END}               -  35  -  END-Key

{POS1},{HOME}       -  36  -  HOME/POS1-Key

{LEFT}              -  37  -  Left Arrow-Key

{UP}                -  38  -  Up Arrow-Key

{RIGHT}             -  39  -  Right Arrow-Key          

{DOWN}              -  40  -  Down Arrow-Key

{SELECT}            -  41  

{PRINT}             -  41

{EXECUTE}           -  43

{SNAPSHOT},{SNAP}   -  44  - Print Screen-Key

{INSERT}            -  45  - INSERT-Key

{DELETE}            -  46  - DELETE-Key

{HELP}              -  47

 -                 - 48-57 Numbers 0-9

                     

{KP_01}             -  48  - Keypad-Modifier, together with

                            SHIFT (160) will be

                            Specialcharacter "*" on the Keypad

{KP_02}             -  56  - Keypad-Modifier, together with

                            SHIFT (160) will be

                            Specialcharacter "(" on the Keypad

{KP_03}             -  57  - Keypad-Modifier, together with

                            SHIFT (160) will be

                            Specialcharacter ")" on the Keypad

 -                 - 65-90 Alphabet letter a-z

{LWIN}              -  91  - Left Windows-Button

{RWIN}              -  92  - Right Windows Button

{APPS}              -  93  - APPS-Key, often left to the right

                            CTRL-Key. Opens Menus.

{SLEEP}             -  95

{NUM_0}             -  96  - Numerical Key-Pad Number 0

{NUM_1}             -  97  - Numerical Key-Pad Number 1

{NUM_2}             -  98  - Numerical Key-Pad Number 2

{NUM_3}             -  99  - Numerical Key-Pad Number 3

{NUM_4}             -  100 - Numerical Key-Pad Number 4

{NUM_5}             -  101 - Numerical Key-Pad Number 5

{NUM_6}             -  102 - Numerical Key-Pad Number 6

{NUM_7}             -  103 - Numerical Key-Pad Number 7

{NUM_8}             -  104 - Numerical Key-Pad Number 8

{NUM_9}             -  105 - Numerical Key-Pad Number 9

{NUM_MUL}           -  106 - Numerical Key-Pad Multiplication

{NUM_ADD}           -  107 - Numerical Key-Pad Addition

{NUM_SEP}           -  108 - Numerical Key-Pad Separator Key

{NUM_SUB}           -  109 - Numerical Key-Pad Subtraction

{NUM_DOT}           -  110 - Numerical Key-Pad Decimal Point

{NUM_DIV}           -  111 - Numerical Key-Pad Divide Key

{F1}                -  112 - Function Key F1

{F2}                -  113 - Function Key F2

{F3}                -  114 - Function Key F3

{F4}                -  115 - Function Key F4

{F5}                -  116 - Function Key F5

{F6}                -  117 - Function Key F6

{F7}                -  118 - Function Key F7

{F8}                -  119 - Function Key F8

{F9}                -  120 - Function Key F9

{F10}               -  121 - Function Key F10

{F11}               -  122 - Function Key F11

{F12}               -  123 - Function Key F12

{F13}               -  124 - Function Key F13

{F14}               -  125 - Function Key F14

{F15}               -  126 - Function Key F15

{F16}               -  127 - Function Key F16

{F17}               -  128 - Function Key F17

{F18}               -  129 - Function Key F18

{F19}               -  130 - Function Key F19

{F20}               -  131 - Function Key F20

{F21}               -  132 - Function Key F21

{F22}               -  133 - Function Key F22

{F23}               -  134 - Function Key F23

{F24}               -  135 - Function Key F24

{NUM},{NUMLOCK}     -  144 - NUMLOCK-Key

{SCROLLOCK}         -  145 - SCROLLOCK-Key

{LSHIFT}            -  160 - Left SHIFT Key

{RSHIFT}            -  161 - Right SHIFT Key

{LCTRL},{LSTRG}     -  162 - Left CTRL-Key

{RCTRL},{RSTRG}     -  163 - Right CTRL-Key

{LALT},{LMENU}      -  164 - Left ALT-Key

{RALT},{RMENU}      -  165 - Right ALT-Key, ALT Gr.                                                                              

                                                Hint: To get ALT Gr, you need to use the

                                                          two Keys: 165 and 162. See example below.                        

 

{BROWSEBACK},{BBACK}     -  166

{BROWSERFWD},{BFWD}      -  167

{REFRESH},{BREFRESH}     -  168

{BROWSERSTOP},{BSTOP}    -  169

{BROWSERSEARCH},{BSEARCH}-  170

{BROWSERFAVS},{BFAVS}    -  171

{BROWSERHOME},{BHOME}    -  172

{MUTE}                   -  173

{VOLDN},{VOLUMEDOWN}     -  174

{VOLAUP},{VOLUMEUP}      -  175

{NTRACK},{NEXTTRACK}     -  176

{PTRACK},{PREVTRACK}     -  177

{MEDIASTOP},{MSTOP}      -  178

{MPAUSE},{PLAYPAUSE}     -  179

{MAIL},{LAUCHNMAIL}      -  180

{MSELECT},{MEDIASELECT}  -  181

{LAUCHAPP1}              -  182 - Launch Application 1 (may be

                               Windows-Explorer)

{LAUCHAPP2}              -  183 - Launch Application 2 (may be

                               Windows-Calculator)

{OEM_1},{UE},{UML_UE}    -  186- German "Ü"-Umlaut

{OEMPlus}                -  187

{OEMComma}     ","       -  188

{OEMMinus}               -  189

{OEMPeriod}              -  190

{OEM_2} "#"              -  191

{OEM_3},{OE},{UML_OE}    -  192 - German "Ö"-Umlaut

{OEM_4}                  -  193

{OEM_5}                  -  194

{OEM_6}                  -  195

{OEM_7}                  -  196

{SS},{GER_SS}            -  219 - German "ß"-Umlaut

{HIGH}         "^"       -  220

{AE},{UML_AE}            -  222- German "Ä"-Umlaut

{PIPE}         "|"       -  226 - the "<"-Key, below the "a",

                               only on german keyboards.

{PROCESS}                -  229          

{ATTN}                   -  246

{CRSEL}                  -  247

{EXSEL}                  -  248

{EREOF}                  -  249

{PLAY}                   -  250

{ZOOM}                   -  251

{PA1}                    -  253

{OEMCLEAR}               -  254