An Inspector panel can be used for displaying information that is gathered by a script.
There are examples in the Adobe Bridge SDK.
Here is a script that I wrote to display the number of keywords for selected files.
#target bridge
function KeyDetails(){
var pp = new InspectorPanel(“With Compliments”);
this.panelRef = pp;
var zzz = [[“Number Of Keys”,”[[getDetails()]]”]];
var tp = new TextPanelette(“File and Keyword Details”, “”, “[[this]]”, zzz);
pp.registerPanelette(tp);
app.registerInspectorPanel(pp);
try{
app.document.displayInspectorView = true;
}catch(e){}
}
function getDetails(){
var retval = “”;
for(var i=0; i < app.document.selections.length; i++) {
var thumb = app.document.selections[i];
var selectedFile = thumb.spec;
md = new Thumbnail(selectedFile).synchronousMetadata;
md.namespace = “http://ns.adobe.com/photoshop/1.0/”;
var keys = md.Keywords;
retval +=decodeURI(thumb.spec.name)+” Keywords = “+keys.length+”\n”;
}
return retval;
}
KeyDetails();
.
.
*👨🔬🕵️♀️🙇♀️*SKETCHES*🙇♂️👩🔬🕵️♂️*
.
.
👈👈👈☜*12 PANELS* ☞ 👉👉👉
*ADOBE BRIDGE*
.
.
💕💝💖💓🖤💙🖤💙🖤💙🖤❤️💚💛🧡❣️💞💔💘❣️🧡💛💚❤️🖤💜🖤💙🖤💙🖤💗💖💝💘
.
.
*🌈✨ *TABLE OF CONTENTS* ✨🌷*
.
.
🔥🔥🔥🔥🔥🔥*we won the war* 🔥🔥🔥🔥🔥🔥