Tokens

Top  Previous  Next

The following tokens can be used to specify the folder where images are saved and in captions added to prints.

 

Date and time tokens
 

%a

Abbreviated weekday name

e.g. Fri

%A

Full weekday name

e.g. Friday

%b

Abbreviated month name

e.g. Jun

%B

Full month name

e.g. June

%d

Date in the form YYMMDD (equivalent to %y%m%D)

e.g. 110617 for June 17, 2011

%D

Day of the month (01 to 31)

 

%H

Hour (00 to 23)

 

%I

Hour (01 to 12)

 

%j

Day of the year (001 to 366)

 

%l

Long date/time representation of locale

e.g. Monday, January 17, 2011 19:03:47

%L

Long date representation for locale

e.g. Monday, January 17, 2011

%m

Month (01 to 12)

e.g. 06 for June

%M

Minutes (00 to 59)

 

%p

am/pm indicator

e.g. PM

%S

Seconds (00 to 59)

 

%t

Time in the form HHMMSS (equivalent to %H%M%S)

 

%W

Week number (00 to 53)

 

%x

Date representation for locale

e.g. 06_17_11 for June 17, 2011

%X

Time representation for locale

e.g. 14_39_29

%y

Year without century

e.g. 11

%Y

Year with century

e.g. 2011

%z

Time zone name

e.g. GMT Standard Time

%Z

Time zone offset wrt UTC

e.g. +0100 for GMT during DST

%n

Time 'now' in the form HHMMSS


{yearNow}

Year 'now' in the form YYYY

e.g. 2011

{monthNow}

Month 'now' (01 to 12)

e.g. 06

{dayNow}

Day 'now' (01 to 31)

e.g. 17

{yearLess8h}

Year with century 8 hours ago - useful when shooting events which continue after midnight

e.g. 2012

{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. 19

 

 

Tokens for modifying strings

 

The tokens below can be used to modify tokens or strings:

 

Token

Description

Example

{left,n,str}

Extracts the first n characters from str (which can be a string or token).

{left,4,{filename}} for filename IMG_1234.jpg would give IMG_

{mid,n,m,str}

Extracts m characters starting from the n'th character from str (which can be a string or token).

{mid,5,4,{filename}} for filename IMG_1234.jpg would give 1234

{right,n,str}

Extracts the last n characters from str (which can be a string or token).

{right,3,{filename}}  for filename IMG_1234.jpg would give .jpg

 

Other tokens
 

{photoboothNumImages}

Number of shots defined in photobooth mode

e.g. 4

{photoboothImage}

Shot number in photobooth shooting sequence

e.g. first photo returns 1

{photoboothDateTime}

Date and time at the start of the current photobooth shooting sequence

e.g. 20110126_190509

{photoboothDate}

Date at the start of the current photobooth shooting sequence

e.g. Jan 26, 2011 returns 20110126

{photoboothTime}

Time at the start of the current photobooth shooting sequence

e.g. 7:05:09 pm returns 190509

{photoboothDir}

The value of the full pathname of the photobooth images folder

e.g. C:\Photobooth\Profile1

{photoboothSubdir}

The value of the photobooth images subfolder

e.g. C:\Photobooth\Profile1 gives Profile1

{photo1}, {photo2} etc.

Filename (without file extension or directory path) of each photo


{filename}

Filename of the saved print layout


{uid}

Unique id in the form ABC12345 updated at the start of each photobooth shooting sequence. Can be used in captions and the filename prefix. The id is guaranteed not to repeat within 72 hours and is very unlikely to repeat within 10 years.