Keys

Far Manager Macro System

Keys


Keys (...)

Parameters:
  One or more arguments of string type.
  Each argument may contain multiple keys separated by whitespace characters.
  The arguments are case insensitive.

Returns:
  nothing

Description:
  Send one or more keys to Far Manager.

Notes:

  1. Special keys:
     "AKey"    - send Far Manager the key that started this macro.
     "SelWord" - select the word under cursor.
     "XLat"    - convert the word under cursor.
     "EnOut"   - enable  screen output (same effect as mmode(1,0))
     "DisOut"  - disable screen output (same effect as mmode(1,1))

  2. Each key may be preceded with a multiplier, e.g. "3*Down" is equivalent to "Down Down Down".

Example:
  mykeys = "CtrlF5 Esc"
  Keys("AKey A b CtrlC ShiftEnter", mykeys)

See also:
Restrictions in the use of some functions