Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Selection: drop-down box, containing several, user definable <item> elements.

  • Text: text field.

  • Checkbox: checkbox, can either be off unchecked ("0") or on checked ("1").

  • Date: Date selection via a text input field or a DatePicker.

  • Time: Time selection via a text input field.

  • DateTime: DateTime selection via text field or DateTimePicker.

Info

All of these elements can be used as often as you want and in any possible order and combination.

...

This element can only have one attribute ("resetAfterRecord"), which resets the Metadata Field's value after each Recording (0, means the values stays as it is. Value 1 will reset the value):

...

Within this control-element you have to define the name, label, currentValue currentValue” and type:

Code Block
<control resetAfterRecord="0">
        <name>quality</name>					#use this name to address the value of this element within the ExportXML 
        <label>Quality</label>					#this name will be used to tag the element within the just:in interface (inspector)
		<currentValue>Medium</currentValue>		#sets the default value for this element
        <type class="Selection">				#defines the control type (selection, text, checkbox, etc.)
            <item>Low</item>
            <item>Medium</item>
            <item>High</item>
        </type>
</control>

Selection Box

The Selection BoxElement can be used, if the just:in linux operator should choose from a predefined set of options.

Code Block
<control resetAfterRecord="0">
        <name>quality</name>
        <label>Quality</label>
        <currentValue>Medium</currentValue>
        <type class="Selection">
            <item>Low</item>
            <item>Medium</item>
            <item>High</item>
        </type>
</control>

Text Box

The Text Boxcan be used for any element, which should contain text only.

Code Block
<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>

Checkbox

The Checkboxis for any elements, which can only have two states.

Code Block
<control resetAfterRecord="0">
        <name>special</name>
        <label>Special</label>
        <currentValue>0</currentValue>
        <type class="Checkbox">
        </type>
    </control>

Date

This element is for choosing selecting a dateDate.

Code Block
<control resetAfterRecord="0">
        <name>date</name>
        <label>Date</label>
        <currentValue></currentValue>
        <type class="Date" default=""/>
</control>

...

This element can choose a specific timeTime.

Code Block
<control resetAfterRecord="0">
        <name>time</name>
        <label>Time</label>
        <currentValue></currentValue>
        <type class="Time" default=""/>
</control>

...

With this element a specific date and time Date” and “Timecan be defined.

Code Block
<control resetAfterRecord="0">
        <name>datetime</name>
        <label>DateTime</label>
        <currentValue></currentValue>
        <type class="DateTime" default=""/>
</control>

...

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 & TimePreferences Panelpanel

...

  • Open Language & Region Settings ” settings (Date & Time Tab” tab)

...

  • Switch to the Advanced Settings” settings

...

  • Change Datesand/or TimesFormat Settings 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.

...