Token List
Every Breeze Booth token in one place. Type to filter, click to copy.
New to tokens? Tokens explains what they are and where they work. Widgets have their own page: Widget Tokens.
General Tokens#
General tokens provide access to common runtime values such as unique IDs, filenames, user details, event information, QR data and device information.
Unique ID and random values#
| Token | Description | Example |
|---|---|---|
{uid} |
Unique ID in the form ABCDE123. The ID is guaranteed not to repeat within 776 days. Two photo booths running at exactly the same time have a 1 in 216,000,000 chance of generating the same ID. |
APZRT965 |
{random,n,m} |
Returns a random number in the range n to m. A new random number is generated each time the ready screen is displayed. |
{random,1,10} returns a random number between 1 and 10. |
Device tokens#
| Token | Description | Example |
|---|---|---|
{iPadId} |
Vendor ID of this iPad. This is the same as the ID displayed in the settings screen. | |
{iPadName} |
Name of this iPad as defined in iPad Settings > General > About. | Demo's iPad |
User tokens#
| Token | Description |
|---|---|
{user_name} |
Name of the user when logged in, otherwise empty. |
{user_id} |
User ID when logged in, otherwise empty. |
{user_email} |
User's email address when logged in, otherwise empty. |
File and folder tokens#
| Token | Description |
|---|---|
{photoboothDir} |
Path of the current photo booth images folder. |
{photoboothSubDir} |
Name of the current photo booth images folder. |
{photoboothParentDir} |
Name of the parent folder of the current photo booth images folder. |
{filename} |
Filename of the saved print layout in photo booth mode. Only available for captions used in photo booth prints and in message text. |
{filenameNoExt} |
Same as {filename} but returns the filename without a file extension. |
Ready screen token#
| Token | Description | Example |
|---|---|---|
{readyScreenString} |
Returns the ready screen string, which can be set using touchscreen actions and used to select which ready screen is displayed. It can also be used to select backgrounds and overlays when using built-in AI background removal. | rdy1 |
Event tokens#
| Token | Description |
|---|---|
{eventTitle} |
Event title. See [[creating-events|Creating Events]]. |
{eventDescription} |
Event description. See [[creating-events|Creating Events]]. |
{eventId} |
ID identifying the event. This is the MD5 hash of the event title and event description and is stored in the summary XML file saved after each session. |
{eventName} |
Event name, defined locally or supplied by Breeze Hub. |
{eventString1} to {eventString5} |
Event strings 1 through 5, defined locally or supplied by Breeze Hub. |
Event Kite tokens#
| Token | Description | Example |
|---|---|---|
{eventKiteGalleryId} |
ID identifying a gallery when using Event Kite for online galleries and microsites. | |
{eventKiteSessionId} |
A unique ID when using Event Kite in the form ABC123DEF. This is updated at the start of each photo booth shooting sequence and can be used in captions, QR codes and the filename prefix. |
ABC123DEF |
Print and prize tokens#
| Token | Description | Example |
|---|---|---|
{printCounter} |
Print counter supplied by Breeze Hub. | |
{printQuotaUsed} |
Returns 1 if {printCounter} reaches 0, otherwise returns 1. |
|
{prize} |
Value of the prize won in Prize Mode. | freehat |
Sync, QR and Bluetooth tokens#
| Token | Description |
|---|---|
{syncCode} |
The text entered in the sync keyboard displayed before updating an event. |
{qr1}, {qr2}, {qr3} ... {qr30} |
The values of strings scanned from a [[qr-codes|QR code]]. Up to 30 strings are supported (from 4.0.6), matching Breeze Cloud surveys. |
{bt1}, {bt2}, {bt3} ... {bt10} |
The values of strings received from a Bluetooth device. |
Email, SMS and timed session tokens#
| Token | Description | Example |
|---|---|---|
{to} |
The to email address when sending an email, or the phone number when sending a text. This token can only be used in the message text. |
|
{startTime} |
Photo booth start time when using timed sessions. | 19:00 |
{endTime} |
Photo booth end time when using timed sessions. | 22:30 |
{timeToStart} |
Time until photo booth starts when using timed sessions. | 2:35:12 |
Date & Time Tokens#
Date and Time Tokens allow you to use current dates and times in text captions, filenames, folders, sharing emails/sms and event names.
| Token | Description |
|---|---|
{hour} or {hourNow} |
Hours (00 to 23) e.g. 17 |
{min} or {minNow} |
Minutes (0 to 59) e.g. 45 |
{sec} or {secNow} |
Seconds (0 to 59) e.g. 23 |
{time} or {timeNow} |
Time in the form HHMMSS e.g. 174523 |
{year} or {yearNow} |
Year in the form YYYY e.g. 2020 |
{month} or {monthNow} |
Month (01 to 12) e.g. 06 |
{day} or {dayNow} |
Day (01 to 31) e.g. 20 |
{date} or {dateNow} |
Date in the form YYYY-MM-DD e.g. 2020-03-04 |
{yearLess8h} |
Year with century 8 hours ago - useful when shooting events which continue after midnight e.g. 2020 |
{monthLess8h} |
Month (01 to 12) 8 hours ago - useful when shooting events which continue after midnight e.g. 01 |
{dayLess8h} |
Day of the month (01 to 31) 8 hours ago - useful when shooting events which continue after midnight e.g. 21 |
{dateLess8h} |
Year, month, day less 8 hours in the form YYYY-MM-DD e.g. 2020-01-21 |
Modifiers#
Modifier Tokens allow you to extract information or manipulate other tokens, texts or data strings.
| Token | Description |
|---|---|
{left,n,str} |
Extracts the first n characters from str (which can be a string or token). eg: {left,4,{filename}} for D:\Photos\image1.jpg will give: image |
{mid,n,m,str} |
Extracts m characters starting from the n'th character from str (which can be a string or token). eg {mid,1,3,{filename}} for D:\Photos\image1.jpg will give: mag {mid,3,,{filename}} for D:\Photos\image1.jpg will give: ge1 |
{right,n,str} |
Extracts the last n characters from str (which can be a string or token). | {right,2,{filename}} for D:\Photos\image1.jpg will give: e1 |
{field,n,str} |
Extracts the nth field from str. Fields are separated by space, period, hyphen, slash, backslash or underscore characters. eg: {field,2,{filename}} for D:\Photos\IMG_0001.jpg will give: IMG |
{first,str} |
Extracts the first word from str (which can be a string or token). {first,%L} for an image taken "Monday, January 17, 2015" will give: Monday |
{last,str} |
Extracts the last word from str (which can be a string or token). {last,%L} for an image taken "Monday, January 17, 2015" will give: 2015 |
{upper,str} |
Converts str to upper case eg: {upper,%B} for a photo taken in June gives: JUNE |
{lower,str} |
Converts str to lower case eg: {lower,%B} for a photo taken in June gives: June |
{capitalize,str} |
Converts str to lower case and capitalizes the first letter eg: {capitalize,john} gives John |
{default,str1,str2} |
Returns str1 unless it is an empty string in which case it returns str2 (str1 and str2 can be strings or tokens). eg: {default,1,2} returns 1 {default,,2} returns 2 |
{if,test,str1,str2} |
Returns str1 if test contains any text except 0 else returns str2 (test, str1 and str2 can be strings or tokens). eg {if,1,2,3} returns 2 {if,0,2,3} returns 3 {if,,2,3} returns 3 |
{compare,str1,str2} |
Returns 1 if str1 is the same as str2 else returns an empty string eg: {compare,photo,photo} returns 1 {compare,photo,image} returns empty string |
{urlencode,str} |
Encodes str so that it can be used as a parameter in a URL e.g. when providing a URL for a microsite. eg: https://yoursite.com/viewer.php?id={urlencode,my name} gives https://yoursite.com/viewer.php?id=my%20name |
{tinyUrl,str} |
Converts a URL to a shortened version using tinyurl.com eg: https://breezesys.com/BreezeBooth/betatest.htm → https://tinyurl.com/ycnmcn8n :::info-orange Support for TinyURL is ending and may stop working at any time. ::: |
{encrypt,str} |
Encrypts a string. This token is intended for use with QR codes on prints which can be scanned in by the app and decoded using the {decrypt,str} token. {decrypt,str} Decrypt a string that has been encrypted using {encrypt,str} |
Survey Tokens#
Surveys are displayed at the start of the session and capture information from guests. The value of each survey input can be used as a token. Survey tokens use the format:
{surveyN_type_ID}
| Part | Description | Example |
|---|---|---|
surveyN |
The survey screen: survey1 for the first survey screen, survey2 for the second. |
survey1 |
type |
The input type: text for a text input, chkbox for a check box, radio for a radio button group. |
text |
ID |
The ID you gave the input. | FirstName |
| Token | Description |
|---|---|
{surveyN_text_ID} |
Value typed into a text input, e.g. {survey1_text_FirstName} or {survey2_text_email} |
{surveyN_chkbox_ID} |
1 if the check box is ticked, otherwise 0, e.g. {survey1_chkbox_OptIn} |
{surveyN_radio_ID} |
ID of the selected radio button in the group, e.g. {survey1_radio_team} or {survey2_radio_color} |
Survey tokens are often combined with modifiers, e.g. {upper,{survey1_text_name}} puts a name in capitals, and {if,{survey1_chkbox_promo},Yes,No} turns a check box into Yes or No.
Widget Tokens#
Values saved by an HTML widget with bb.setToken use the widget's ID and the key it saved. See Widget Tokens for how to save them and full examples.
| Token | Description |
|---|---|
{<widgetID>_<key>} |
Value a widget saved with bb.setToken, e.g. {taxgame_score} |
autoemail |
Widget key that emails the share to this address automatically |
autotext |
Widget key that texts the share to this number automatically (include + and country code) |
Email Output Tokens#
Output tokens can be used in sharing emails, typically when generating custom HTML designs, as it allows for a way to insert images and information in to the body of the email.
| Token | Description |
|---|---|
{print_layout} |
the JPEG copy of the print layout |
{photo<n>} |
individual photos e.g. {photo1}, {photo2} etc. |
{thumbnail<n>} |
individual thumbnails {thumbnail1}, {thumbnail2} etc. |
{gif} |
slideshow GIF or boomerang GIF |
{video_preview} |
JPEG preview of the video |
Breeze Hub Tokens#
These tokens are used when Breeze Booth is connected to Breeze Hub.
| Token | Description | Example |
|---|---|---|
{computerName} |
The name of the PC running Breeze Hub. | DESKTOP-61QGHDE |
{path} |
The filename of the file being downloaded from the iPad. This token can only be used when specifying the download folder. | 2023-04-11 103532_1.jpg |
Nothing on this page matches “”. Clear the filter or search the whole guide.
Was this page helpful?
Thanks, that helps us improve the guides.