Tokens
Show the page number, page count, date, deck name or version in text.
A token is a name in square brackets that you type into a text layer, such as [pagenum]. While you edit the text, it shows as you typed it. Everywhere else, it’s replaced with its value.
Inserting a token
While editing text, type [ or click Insert token in the format bar, which types the bracket for you. A list of tokens opens. Keep typing to filter it, so [pa leaves [pagenum] and [pagecount]. Press ⇥ or ↵, or click a token, to insert it.
↓ and ↑ move the highlight, wrapping around at the ends. Esc closes the list and leaves the bracket in place.
The list only shows while the cursor sits right after an opening bracket, or after a bracket and letters that start a token name. It never shows while text is selected.
Available tokens
| Token | Replaced with |
|---|---|
[pagenum] |
The scene’s number, counting from 1. It’s padded with zeros to as many digits as the page count, so scene 7 of 12 is 07. Hidden scenes have no number and are skipped |
[pagecount] |
The number of scenes, not counting hidden scenes |
[date] |
Today’s date, in the date format of the viewer’s device |
[deckname] |
The deck’s title, which updates when you rename the deck |
[versionnum] |
The name of the last version you saved by hand. If none is named, it shows the number of checkpoints, and with no history, it shows as typed. See History |
Token names aren’t case sensitive, so [PageNum] works, but they must be typed exactly, with both brackets and no spaces. Other text in brackets is left alone. A token takes the formatting of the text around it, and an Auto width layer sizes itself to the value, not the name.
In the Global Layer of a launch deck, add a small text at the bottom left reading [deckname], and one at the bottom right reading [pagenum] / [pagecount]. On the Global Layer, [pagenum] is the number of the scene being shown, so one layer numbers every scene. The third scene of 14 shows “03 / 14”.
- Type [ to list the tokens
- Insert the page number
Limits
- You can’t set the date format.
- You can’t define your own tokens.
- You can’t turn off the zero padding of
[pagenum].