QR Code Variables of Darkroom Core and Pro

QR Code Variables of Darkroom Core and Pro

QR Code commands/rules


New subcatalog command can be:
*S                 create new subevent with default # of digits
*Sn                create new subevent with n digits (where n >= 1 && n <= 9)  e.g. *S4 ->  0001
*S=###             create new subevent with 3 digits e.g. 001
*S=mysub          create new or reuse subevent always named "mysub"
*S=mysub###       create new unique subevent mysub001

Using an upper-case "S" it will create a top level sub event. 
Using a lower-case "s" it will create a new lower level subevent under the currently selected subevent.

*R will reset (clear any previous QR Code so that next image won't get EXIF data set or get renamed)
# signs work in renaming files also.  So files can be renamed to:  "Test" or "Test####"
You can also put %RANDOM% within the string for the subevent name, e.g.   *S=mysub%RANDOM4%
So a good general purpose QR Code would be:   *S=%RANDOM%
which would work to create a new random subevent regardless of the current QR Code scan rule
%RANDOM%
*S=2041125826


*S

new subevent 01, 02, ...

*S3

new subevent with 3 digit numbering:  001, 002, 003, ...    

This works for *S1 thru *S9.  Really only needed if you know you will exceed 99 subevents.

*S=name

new subevent with specific name (re-used if already exists)

*S=name##

new subevent with specific name numbered in order:  name01, name02, name03

This will always create the new subevent and never reuse an existing subevent

Any number of digits can be specified, e.g. #### or #####

Subevent numbering can be specified anywhere in string, e.g. *S=prefix####suffix





Adding data to Image Exif Info



  • format of data in EXIF Comment field should be:   Name=John Doe;Age=25 
  • field/variable name followed by equal sign and value.  use semi-colon to separate multiple Field=Value pairs.
  • there's no limit on the # of fields, but using too many will make QR Codes too dense and harder to scan
  • In templates, you can use this data in two ways:
    • Just use regular template text variables like %Name% and %Age% and the fields will be defaulted to the values from the User Comment
    • or, you can use %UserComment.field%  (e.g. %UserComment.Name%).  This will do the same thing BUT will always use the data from the EXIF comment without ability to edit via the Template Text field edit dialog
  • switching between images which contain data fields in the EXIF Comments will automatically change template text displayed on screen

While viewing an image's Properties on Library and Workshop page, you can now double click the EXIF Comment to edit it.  You can put in any text including variables as described above.




Random Code Generation

RANDOM  = generates a random 10 digit number
ALPHARAND = generates a random alphabetic string
ALPHANUMRAND = generates a random alphanumeric string

You can surround in percent signs as border variables %RANDOM% or {RANDOM} but the simple cases above do not require that.

You can also control the number of digits 1-9 by adding a number, for example:
RANDOM6
ALPHANUMRAND5

Note* It is suggested that you generate at least 6 digits of random data.  The software will try to guarantee unique IDs are generated within one catalog, but using more random digits is best.




m:   email
s:    phone number
s:5555555555