Function Key Names for SENDKEY Function

RAMP-TS

Function Key Names for SENDKEY Function

This table shows the function key names you need to use in the SENDKEY function and the corresponding 5250 and Windows key names.

Note that the key names are case sensitive and you must enter them exactly as shown here in the SENDKEY function.

SENDKEY Name Windows Keyboard 5250 Key action description Button Text

KeyAttn       

Esc

sys attn

"Attn"; 

KeyClear      

Shift Enter

Field Exit

"Clear";

KeyEnter      

Enter

Enter

"Enter";

KeyHelp       

alt F1

help

"Help";

KeyPageDown  

Page Down

Page Down

"Page Up";

KeyPageUp     

Page Up

Page Up

"Page Down"; 

KeyPrint      

ctrl Pause

host print

"Print";

KeyReset      

ctrl

reset

"Reset";

KeySysReq     

shift Esc

sys req

"Sys Req";

KeyTestReq   

alt Pause

test req

"Test Req"; 

KeyF1        

F1

F1

"F1";

KeyF2         

F2

F2

"F2";

KeyF3         

F3

F3

"F3";

KeyF4         

F4

F4

"F4";

KeyF5         

F5

F5

"F5";

KeyF6         

F6

F6

"F6";

KeyF7         

F7

F7

"F7";

KeyF8         

F8

F8

"F8";

KeyF9         

F9

F9

"F9";

KeyF10       

F10

F10

"F10";

KeyF11        

F11

F11

"F11";

KeyF12        

F12

F12

"F12";

KeyF13       

shift F1

F13

"F13";

KeyF14        

shift F2

F14

"F14";

KeyF15        

shift F3

F15

"F15";

KeyF16        

shift F4

F16

"F16";

KeyF17        

shift F5

F17

"F17";

KeyF18        

shift F6

F18

"F18";

KeyF19        

shift F7

F19

"F19";

KeyF20        

shift F8

F20

"F20";

KeyF21        

shift F9

F21

"F21";

KeyF22        

shift F10

F22

"F22";

KeyF23        

shift F11

F23

"F23";

KeyF24       

shift F12

F24

"F24";

KeyPA1       

Esc 1

program attention 1

"PA1";

KeyPA2       

Esc 2

program attention 2

"PA2";

KeyPA3        

Esc 3

program attention 3

"PA3";

 

Example

 

SENDKEY(KeyEnter);