Special Codes in Snippets

This article only applies to TextExpander 6.2.8 for macOS and 1.0 for Windows and earlier.

Mac / Windows / Chrome / iOS

These macros can be used when you enter them in the TextExpander web editor or in the downloadable apps.

Entering these macros in 6.5 Mac /2.0 Windows or higher will present an expansion of the actual code.

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)

%| = % + (Shift+) the pipe is used to position the cursor at that location once a Snippet is expanded
%\ = select a range of text upon Snippet expansion. The text must be surrounded by %| at the beginning and %\ at the end.

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

%Snippet:<Snippet abbreviation>% = nest 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

Mac / Windows / Chrome

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