Macro substitutions

Macro values can contain the following strings, which will be substituted with special characters or functionality. This enables you to have macros that do more than enter simple text commands. They can control applications such as screen, emacs or vi that require control characters or the escape key.

Note that you may want to use the Type mode of the macro rather than Enter, as you may not want Enter pressed after your macro.

The following substitutions are supported:

  • The “^” character followed by any letter (usually lowercase) to simulate the control key and that letter, eg. “^a” to type control-a;
  • The “\” character followed by one of the following letters: n, r, t, e.
    • \n = newline
    • \r = carriage return
    • \t = tab
    • \e = escape

NOTE: Alt keys will be added as soon as we decide on a command character (like “^”) for it. If you have ideas please post in the forum.

 
macro-substitutions.txt · Last modified: 2007/08/22 10:10 by 193.109.81.201
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki