Tokens

Top  Previous  Next

The following tokens read information from the shooting data of the images and are available for using in the filenames of downloaded images and in the photobooth caption text.

 

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. 030611 for June 11, 2010

%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. Wednesday, June 17, 2010 19:03:47

%L

Long date representation for locale

e.g. Wednesday, June 17, 2010

%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_11_10 for June 11, 2010

%X

Time representation for locale

e.g. 14_39_29

%y

Year without century

e.g. 10

%Y

Year with century

e.g. 2010

%z

Time zone name

e.g. GMT Standard Time

%Z

Time zone offset wrt UTC

e.g. +0100 for GMT during DST

{yearNow}

Year 'now' in the form YYYY

e.g. 2010

{monthNow}

Month 'now' (01 to 12)

 

{dayNow}

Day 'now' (01 to 31)

 

{yearLess8h}

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

 

{monthLess8h}

Month (01-12) 8 hours ago - useful when shooting events which continue after midnight

 

{dayLess8h}

Day (01-31) 8 hours ago - useful when shooting events which continue after midnight

 

 

Shooting data tokens

%e

File extension (without the '.')

e.g. JPG for IMG_4567.JPG

%i

ISO value read from the shooting data

 

%o

Image filename without extension

e.g. IMG_4567

%O

Owner string

 

{orientation}

Image orientation: L for landscape or P for portrait

 

{orientationAngle}

Image orientation in degrees: 0, 90 or 270

 

 

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

 

{comment}

The value of comment entered in the main window

 

{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 in photobooth mode


{filename}

Filename of the saved print layout in photobooth mode (only available for captions used in photobooth prints)


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


[****]