CS4 Metadata File Info MRU Tweaks

The File Info dialog is used to manage metadata across most Adobe applications.

One feature of the dialog is the MRU (most recently used) auto complete feature that keeps track of the last 20 values that you have entered in the property. This is useful if you have a small set of common values that you use over and over.

But what if you want to store more values? Or clear them? Or even fix the values that are selectable?

Here is how you accomplish this – first find the file “FileInfoMRU.xml” on your machine.

Mac:
/Users/<user>/Library/Preferences/Adobe/XMP/File Info/2.0/work/FileInfoMRU.xml

PC:
C:\Documents and Settings\<user>\Local Settings\Application Data\Adobe\XMP\File Info\2.0\work\FileInfoMRU.xml

Open it up in a text editor. And you should see something similar to the following:

<xfi:fileinfo xmlns:xfi=”http://ns.adobe.com/xmp/fileinfo/”>
<xfi:mruLists>
<xfi:mruList key=”dc:creator” maxEntries=”20″>
<item>John Smith</item>
<item>John Adams</item>
</xfi:mruList>
<xfi:mruList key=”dc:title” maxEntries=”20″>
<item>one</item>
<item>two</item>
<item>three</item>
<item>four</item>
</xfi:mruList>
</xfi:mruLists>
</xfi:fileinfo>

Each key defines the namespace and property – for example “dc:creator” – “dc” designates the Dublin Core namespace, “creator” is the property name. This property is shown by the Description panel as “Author”, it is also used by the IPTC panel as “Creator”.

We can see that dc:creator has 2 MRU items:

<xfi:mruList key=”dc:creator” maxEntries=”20″>
<item>John Smith</item>
<item>John Adams</item>
</xfi:mruList>

and dc:title has 4 MRU items:

<xfi:mruList key=”dc:title” maxEntries=”20″>
<item>one</item>
<item>two</item>
<item>three</item>
<item>four</item>
</xfi:mruList>

The maxEntries property defines the maximum number of MRU entries that are stored per specific property. That can be changed to support more or less items – a setting of zero disables the MRU.

There is an undocumented feature to ensure that the list remains static by adding ‘closedList=”true”‘. This locks down the list so that no new values are added or removed. Below is an example we can create:

<xfi:mruList key=”dc:title” maxEntries=”100″ closedList=”true”>
<item>paper</item>
<item>scissors</item>
<item>rock</item>
</xfi:mruList>

In the above example we’ve limited the choices to 3. Effectively this is a simple example of a controlled vocabulary. Of course, this type of CV functionality can also be accomplished with a Flex custom panel.

Technorati Tags: , , , , ,