Tokens

Top  Previous  Next

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. 080611 for June 11, 2008

%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, December 17, 2008 19:03:47

%L

Long date representation for locale

e.g. Wednesday, December 17, 2008

%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_08 for June 11, 2008

%X

Time representation for locale

e.g. 14_39_29

%y

Year without century

e.g. 03

%Y

Year with century

e.g. 2009

%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. 2009

{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 of the month (01-31) 8 hours ago - useful when shooting events which continue after midnight

 

 

Shooting data tokens

 

%c

Camera serial number

 

%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 (Canon cameras only)

 

%T

Camera model name starting from the first word containing digits

e.g. D7000

%T1

Same as %T, but '-' are treated as spaces

e.g. D7000

%T2

Full camera model name

e.g. Nikon D7000

{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

 

{artist}

Artist string stored in the camera {newer camera models only)

 

{author}

Same as {artist}

 

{copyright}

Copyright string stored in the camera {newer camera models only)

 

{copy}

Same as {copyright}

 

{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

 

{imageCounter}

Shutter activation count (the total number of pictures that have been taken with the camera)

e.g. 1234

{imageCounter5}

Same as {imageCounter} but padded with leading zeroes to give a 5 digit number

e.g. 01234

{imageCounter6}

Same as {imageCounter} but padded with leading zeroes to give a 5 digit number

e.g. 001234

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

 

{message}

Message entered by the user when using the "Message input at end of sequence" touchscreen keyboard option

 

{sharingMessage}

Optional message entered by the user when sending emails or uploading to Facebook