Metadata is information that is stored in a file that describes the file itself. For example, photos you take with your digital camera contain metadata like the date and time you took the picture, and the exposure settings used to take it.
Opus lets you edit file metadata in three ways; the easiest are with the Metadata Pane, and with the Set Metadata dialog. The actual process of editing metadata is the same in both cases. The Metadata Pane lets you view metadata and make changes for selected files directly in the Lister or image viewer, whereas the Set Metadata dialog works like a typical file operation - it displays a dialog letting you choose the changes to make, and then when you click OK the changes will be applied to all selected files.
The third way of editing metadata is programmatically - you can use the internal SetAttr META command to create buttons or hotkeys that automatically modify the metadata of selected files.
To invoke the Set Metadata dialog, select the files you wish to edit, and choose the Edit Metadata command from the drop-down Properties menu. To display the Metadata Pane, select the Metadata Pane command from the Lister Configuration drop-down menu. In the standalone image viewer, select Edit Metadata from the Edit menu. In the Lister, the Metadata Pane will update in real time as you select and deselect files in the file display.
Whichever method of editing you choose, the same display is used to both
display the current metadata settings and to let you make changes.
The list of metadata properties is divided into a number of categories. The categories and properties shown will change, depending on the type or types of files you have selected. Individual categories can be collapsed to hide their contents by clicking the small button to the left of the category name.
You can edit the metadata of multiple files simultaneously simply by selecting multiple files at once (for the Metadata Pane), or by having multiple files selected when invoking the Edit Metadata command. Only properties that all selected files have in common can be edited. For example, if you select four image files at once, all the Document and Picture Properties fields will be shown as normal, but if you select four image files and one music file, only the few Document fields they have in common will be available.
The metadata display shows the current values, if any, of the various
properties of the selected files. If multiple files are selected and they have
different values for a given property, the indication multiple values
is shown.
This indicates that the
selected files did not all have the same initial value for that property. If you
edit a property when multiple files are selected, the new value will be applied
to all files, so (except in a few special cases) editing a field where
multiple values is displayed will result in the loss of the individual
properties for the selected files.
To edit a value in the metadata display, simply click it to invoke the editing controls. The type of control used will depend on the field being edited. For example, for a string this will be a text edit field, but for a property with only certain options to choose from this might be a drop-down list.
To accept changes you have made to a field, simply click out of it (or on another field). You can also move between fields using the keyboard - press the Tab key to move to the next field, or Shift+Tab to move to the previous one. You can press the Enter key to accept changes you have made to a field, or press Escape to undo changes to the current field.
When a property has been modified it is indicated with a red triangle to the
left of the field name.
In the Metadata Pane, making one or more changes also enables the Apply and Cancel links in the pane's titlebar. Once you have finished editing the metadata for the selected files, click the Apply link to save the changes. You can also click the Cancel link to discard any changes and reset all properties to their original values. The arrow buttons ( ) in the title let you quickly move through a list of files - click to go to the next file and to go to the previous file. If you hold the Shift key down when you click these arrows, any changes you have made to the current file's metadata will be automatically saved.
In the Set Metadata dialog, once you have finished editing the metadata, click the OK button to apply the changes to the selected files.
Using drag-and-drop, you can copy certain combinations of properties from one
file to one or many target files. When you are editing the metadata for one or
more files in the metadata pane or the separate dialog, you can drag-and-drop
another file over the properties list. If you drag with the left button, a
default set of properties will be copied; dragging with the right mouse button
displays a popup menu that lets you choose which properties you want to copy
from the dropped file.