Macro Language Reference > Macros > Keyboard > ttpi
  
ttpi
Description
Puts PTC ALD into a special mode such that every character typed into a text stream from the keyboard can be prefixed by another fixed character. It was particularly designed for use with the PI shift characters, hence the name of the macro. It can however, be used with any character (the space character can be useful).
 
Example 166. Prefix every character with a hash character
The example below will prefix every character with a #138 hash character (to send the next character to the tfx+1 shift character):
ttpi 138
 
Example 167. Prefix every character with a space
ttpi 32
 
Example 168. Prefix every character with an 'a'
ttpi 'a'
Syntax
ttpi prefix_char_code:n?
ttpi
[no parameter]
Toggle the prefix character option on or off, depending on the current setting
prefix_char_code
The character to be used as a prefix: can be entered here in two ways:
The hash code
The character itself within single quote marks