
This statement is used to save artwork to specified folders. At most one copy of an image will be saved to any one folder.
All text fields may contain any of the escape sequences described in Escape Sequences
You can specify that the artwork items to be considered are all the artwork ems, only the first artwork item or all but the first artwork item. You can also choose to only save artwork matching a specific index, picture type or description. Note that the description tests are always performed case insensitive. You can OR the test results (any being sufficient) or AND them (all must be matched).
You can also specify that at most one artwork item which matches the criteria, if any, is to be saved. For example if a picture type of Other is specified and At most one is enabled, at most one image with a picture type of Other will be matched per file. This is performed in a strict item order on a per file basis. If all files contain three images I1, I2, I3 and I2 and I3 are Other only I2 will be saved. However if one file has I1, I3, I2 as the order, both I2 and I3 will be saved.
If you pass \sa for the index, it will match a single selected artwork item. More information can be found in the Accessing Selected Artwork topic.
If the Output folder field is empty, artwork will be placed in the same folder as the track which contained the artwork. You can use the Choose button to select a folder.
At runtime the path specified in the Output folder field must resolve to be one of the following formats:
The output folder will be created if it does not exists.
The name of the produced file is constructed as follows. Note that all the components are optional with the condition that at least one must be specified.
You can supply the delimiter to be used to separate appended items. If the delimiter field is empty space-space will be used.
If during the execution of the function a constructed filename has already been used in a given folder, (#) will be appended to make the filename unique.
Typically the filename extension need not be supplied as .jpg or .png will be used based on the mime type of the image being saved. If the filename ends with .jpg or .png, the image will be converted if required to the explicit specified type.
Note that files which existed prior to the execution of the function will be overwritten.
While implemented to be very efficient in stepwise mode, this statement is valid in all execution contexts.