Scripts are used to control some aspects of the operation of Picard.
There are two types of scripts used in Picard: the file naming script and tagging scripts. These are managed from the “File Naming” and “Scripting” sections of themenu.
The syntax is derived from Foobar2000’s titleformat.
There are three base elements: text, variable and function. Variables consist of
alphanumeric characters enclosed in percent signs (e.g.:
start with a dollar sign and end with an argument list enclosed in parentheses (e.g.:
When entering input strings into Picard scripts you have to escape a backslash “\”,
dollar sign “$”, comma “,” and the left and right parentheses “(” and “)” in order to force
Picard to not interpret them as part of the script command. This is done by inserting
a backslash before the character to be escaped. For example, to set a tag value to
it would have to be entered as
See Tags & Variables for the list of the variables provided by Picard.
Picard’s variables can be either simple variables containing a single text string, or multi-value variables containing multiple text strings. In scripts, multi-value variables are automatically converted to a single text string by joining the values with a semicolon “;”, except when used with special multi-value functions.