Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Script to display IPTC Metadata ('Description') in Content Column

Contributor ,
Feb 14, 2011 Feb 14, 2011

I've tried everything I can think of to make OnLocations Metadata 'comments' and 'description' show up in the content panel of Bridge.   Do I need to pay someone to write a script for this?   I have my camera folk commenting relevant data in those fields, but I'm not seeing how to put it into a column in Bridge. 

I do understand that this info shows up in the metadata panel under IPTC (IIM, legacy) and IPTC Core... but that doesn't help me scan an entire directory for comments at a glance.    Any suggestions would be hugely appreciated...

Thanks in advance,


David

TOPICS
Scripting
755
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Feb 15, 2011 Feb 15, 2011
LATEST

This will show the "Description" field in an Inspector panel.


getDetails = function(){
var startTime = new Date();
var retval = "Description Details: " + startTime + "\n";
retval += "";
for(var i=0; i < app.document.selections.length; i++) {
  var myObj = app.document.selections;
        md =  myObj.synchronousMetadata;
        md.namespace = "http://purl.org/dc/elements/1.1/";
        Desc = md.description;
  retval += " - " + myObj.name + " "+"Description:\n"+Desc+"\n";
}
return retval;
}
ExtraInfo = function(){
var pp = new InspectorPanel("Extra File Details");
this.panelRef = pp;
var kvp = [["Description","[[javascript:getDetails()]]"]];
var tp = new TextPanelette("Extra Information", "Descriptions", "[[this]]", kvp);
pp.registerPanelette(tp);
app.registerInspectorPanel(pp);
    try{
app.document.displayInspectorView = true;
    }catch(e){}
}
ExtraInfo();


I have no idea what field you are calling 'comments' though.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines