...
Changing the format of these metadata elements is very easy and straightforward as well. In order to make this as flexible as possible, we are using the default system settings for that. To change that, open the custom format settings for “Dates” and “Times”“Dates” and “Times”, which can be found here:
Open the macOS System Preferences and open the Date & Time Preferences Panel
...
Open “Language & Region” Settings (“Date & Time” Tab)
...
Switch to the “Advanced” Settings
...
Change “Dates” and/or “Times” Format Settings here ("Full:")
...
StartUpXML Example
Please beware that the StartUpXML must follow the rules above, otherwise the Metadata Sets will not work correctly and can lead to unexpected behaviour.
Code Block | ||
---|---|---|
| ||
<metadataSet> <name>Example</name> <extension>xml</extension> <control resetAfterRecord="0"> <name>quality</name> <label>Quality</label> <currentValue>Medium</currentValue> <type class="Selection" default="2"> <item>Low</item> <item>Medium</item> <item>High</item> </type> </control> <control resetAfterRecord="0"> <name>customText</name> <label>Custom Text</label> <currentValue>Insert your text here</currentValue> <type class="Text" default="Insert your text here"></type> </control> <control resetAfterRecord="0"> <name>Just_In_Custom_Date</name> <label>Custom Date</label> <currentValue>YYYY.MMM.dd</currentValue> <type class="Text" default="YYYY.MMM.dd"></type> </control> <control resetAfterRecord="0"> <name>special</name> <label>Special</label> <currentValue>0</currentValue> <type class="Checkbox" default="0"> </type> </control> <control resetAfterRecord="0"> <name>date</name> <label>Date</label> <currentValue></currentValue> <type class="Date" default=""/> </control> <control resetAfterRecord="0"> <name>time</name> <label>Time</label> <currentValue></currentValue> <type class="Time" default=""/> </control> <control resetAfterRecord="0"> <name>datetime</name> <label>DateTime</label> <currentValue></currentValue> <type class="DateTime" default=""/> </control> </metadataSet> |
ExportXML Example
The ExportXML can have any possible structure. As mentioned above, the variables defined in the StartUpXML can be addressed like shown below.
...