Operations with file names
While converting images, the program creates new graphics files without changing
source files. You can specify names of new files with the help of special macros
set in Operations with target file name value box.
File name template may include any permanent characters present in all names
of files processed by the script and macros that can be entered with the help
of a special menu (called with the button marked with dots). When you add a
macro, the program inserts separating dots into the template. If you enter or
edit the template manually, the program checks the template and marks all detected
errors with red.
Below is the list of all available macros.
{Title} - Source Image Title – adds source file name to the
template (source file names are used to name resulting files).
{Type} - Result Image Type – adds standard extension of the
selected graphics format to the template.
{Counter} - Counter – adds a counter to the template. Counter
value is increased by 1 when a file is processed (1 digit).
{Counter2-7} - Counter (2-7 digits format) – adds a counter
with a fixed number of digits to the template. Counter value is increased by
1 when a file is processed (from 2 to 7 digits).
{Date} - Conversion Date – adds conversion date to the template.
The date is added in month-day-year format.
{Year} - Conversion Year – adds conversion year to the template.
{Month} - Conversion Month - adds conversion month to the template.
{Day} - Conversion Day - adds conversion day to the template.
{Time} - Conversion Time - adds conversion time to the template.
Time is added in hour-minute-second format.
{Hour} - Conversion Hour - adds conversion hour to the template.
{Minute} - Conversion Minute - adds conversion minute to the
template.
{Second} - Conversion Second - adds conversion second to the
template.
{Bytes} - Result File Size in bytes – adds the size of resulting
file in bytes to the template.
{Kb} - Result File Size in Kb - adds the size of resulting file
in kilobytes to the template.
{Mb} - Result File Size in Mb - adds the size of resulting file
in megabytes to the template.
{Size} - Result Image Size - adds the size of resulting image
(width and height) to the template.
{Width} - Result Image Width - adds the width of resulting image
to the template.
{Height} - Result Image Height - adds the height of resulting
image to the template.
{Depth} - Result Image Color Depth – adds color depth of resulting
image to the template. Color depth is number of bits used to display one pixel
of an image.

You can also tell the program what to do if a file with the name created by
the template already exists in the specified folder. To do it, press "+"
next to Operations with target file name line. If file already
exist line appears on the screen. Select an action from its dropdown list.
Rename – if a file with this name already exists, a question
about further actions will be displayed on the screen. Possible answers to the
question are: Auto rename all, Auto rename this, Skip this, Skip all.
Auto rename – all resulting files whose names coincide with
existing file names will be renamed automatically according to the template
{user_template} (1).{Image Type}.
Overwrite - if a file with this name already exists, a question
about further actions will be displayed on the screen. Possible answers to the
question are: Auto overwrite all, Auto overwrite this, Skip this, Skip all.
Auto overwrite - all resulting files whose names coincide with
existing file names will automatically overwrite existing files.

Related topic:
|