Place holder

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Locked
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Place holder

Post by xnview »

In many places of XnView/XnConvert, you can use placeholder. A placeholder is between {}
493px-MP-PlaceHolder.png
493px-MP-PlaceHolder.png (127.59 KiB) Viewed 1207 times

Variables

All variables are between {}. You can cut a part of the text

• {variable [start-end]}
• {variable [start-]}
• {variable [-end]}

eg.

• {Filename} => img_example_105
• {Filename [0-2]} => img
• {Filename [5-]} => example_105
• {Filename [-7]} => img_exam

You can replace a word by another by using [~xxx~xxx]

eg.

• {Filename [~img~out]} => out_example_105

You can hide a variable if the value is empty: ((Model: {EXIF:Model}))

Date format

Date variable can be customized, by default system format is used.

• Y - Year
• y - Year without century (00-99)
• m - Month as decimal (01-12)
• d - Day as decimal (01-31)

• H - Hour (01-24)
• M - Minute (00-59)
• S - Second (00-59)

• B - Month name
• b - Abbreviated month name
• A - Weekday name
• a - Abbreviated weekday name

eg.

{Creation Date [Ymd-HMS]} -> 20211202-092920
{Creation Date [A B Y]} -> wednesday march 2021

EXIF variables

You can set an EXIF field by using his tag value, eg. {EXIF:x110}
Pierre.
Locked