What other special codes can be used in TextExpander snippets?

Shonna Lemke General desktop

Other special codes which can be used in TextExpander: (other than the date and time macros listed here)

%clipboard = insert clipboard text contents here (note: you can get the effect of “Paste and Match Style” by creating a “Plain Text” snippet with just “%clipboard” as its contents, with something like “ppp” as the abbreviation)

%| = position cursor here once snippet is expanded
%\ = select from %| to here (must appear after %|)

%% = expand a single percent character (“escape” the percent sign from being treated as a macro code)

%snippet:<snippet abbreviation>% = embed the specified snippet’s expansion within this one

Fill-in fields (see TextExpander help for details):
%filltext:name=<field name>% = single-line fill-in field
%fillarea:name=<area name>% = multi-line fill-in field
%fillpopup:[default=]<value>:<value>:<value>[…]% = popup menu
%fillpart%<content of optional section>%fillpartend% = optional section – check the box to include when expanded

Have TextExpander press some arrow keys after the expansion is inserted (must appear at the end of the snippet text):
%> = cursor right
%< = cursor left
%^ = cursor up
%v = (letter v) cursor down

If you use a delimiter to trigger expansion, override the keep or abandon delimiter for a specific snippet by adding one of these codes at the end of the snippet text:
%+ = keep delimiter
%- = abandon delimiter