|
<< Click to Display Table of Contents >> Navigation: Quick3270 functions and statements > SendKeys |
Description
Send keystrokes at the current cursor location.
Syntax
SendKeys str
The SendKeys syntax has these arguments:
Part |
Type |
Description |
str |
String |
Required. String expression that you want to put on the screen. |
Remarks
Host function keys can be specified with mnemonics.
- Mnemonics must be enclosed in angle.
- Mnemonics are case insensitive
Table of mnemonics representing applicable function keys.
Description |
Mnemonics |
Emulation |
|---|---|---|
Alternate Cursor |
<AltCursor> |
3270 and 5250 |
Attention |
<Attn> |
3270 and 5250 |
Back Space |
<Backspace> |
3270 and 5250 |
Back Tab |
<Backtab> |
3270 and 5250 |
Back Word Tab |
<BackWord> |
3270 and 5250 |
CapsLock |
<CapsLock> |
3270 and 5250 |
Clear |
<Clear> |
3270 and 5250 |
Cursor down |
<Down> |
3270 and 5250 |
Cursor left |
<Left> |
3270 and 5250 |
Cursor right |
<Right> |
3270 and 5250 |
Cursor up |
<Up> |
3270 and 5250 |
Cursor left fast |
<Left2> |
3270 and 5250 |
Cursor right fast |
<Right2> |
3270 and 5250 |
Cursor Select |
<CursorSelect> |
3270 and 5250 |
Delete char |
<Delete> |
3270 and 5250 |
Duplicate |
<Dup> |
3270 and 5250 |
Edit-Select All |
<Edit-Select All> |
3270 and 5250 |
Edit-Cut |
<Edit-Cut> |
3270 and 5250 |
Edit-Copy |
<Edit-Copy> |
3270 and 5250 |
Edit-Paste |
<Edit-Paste> |
3270 and 5250 |
Edit-Paste Continue |
<Edit-Paste Continue> |
3270 and 5250 |
Edit-Copy Append |
<Edit-Copy Append> |
3270 and 5250 |
Edit-Undo Paste |
<Edit-Undo Paste> |
3270 and 5250 |
Enter |
<Enter> |
3270 and 5250 |
Erase EOF |
<EraseEOF> |
3270 and 5250 |
Erase Input |
<EraseInput> |
3270 and 5250 |
Erase Field |
<EraseField> |
3270 and 5250 |
End of Field |
<EOF> |
3270 and 5250 |
Field Exit |
<Field Exit> |
5250 |
Field Minus |
<Field -> |
5250 |
Field Plus |
<Field +> |
5250 |
Field Mark |
<FieldMark> |
3270 and 5250 |
Forward Word Tab |
<ForwardWord> |
3270 and 5250 |
Help |
<Help> |
5250 |
Home |
<Home> |
3270 and 5250 |
Host Print |
<Host Print> |
5250 |
Insert Toggle |
<Insert> |
3270 and 5250 |
Jump to next session |
<Jump> |
3270 and 5250 |
Last Field |
<Last Field> |
3270 and 5250 |
New Line |
<NewLine> |
3270 and 5250 |
Num Lock |
<NumLock> |
3270 and 5250 |
Page Down or |
<Page Down> |
5250 |
Page Up or |
<Page Up> |
5250 |
Print Screen - Default |
<PrintScreen> |
3270 and 5250 |
Print Screen - File |
<PrintScreen to File> |
3270 and 5250 |
Print Screen - Printer |
<PrintScreen to Printer> |
3270 and 5250 |
Reset |
<Reset> |
3270 and 5250 |
Ruler Toggler |
<Rule> |
3270 and 5250 |
Scroll Lock |
<ScrLock> |
3270 and 5250 |
System Request |
<SysReq> |
3270 and 5250 |
Tab |
<Tab> |
3270 and 5250 |
Pa1 |
<Pa1> |
3270 and 5250 |
Pa2 |
<Pa2> |
3270 and 5250 |
Pa3 |
<Pa3> |
3270 and 5250 |
Pf1 to Pf24 |
<Pf1> – Pf24> |
3270 and 5250 |
Sample
SendKeys "Logon<Enter>"