Skip to main content
Pooch88
Known Participant
January 10, 2021
Answered

Adding a WHITE label?

  • January 10, 2021
  • 2 replies
  • 1080 views

Is it possible to add a white label to media (as opposed to the default color options)?  i see lots of posts about how these labels unexpectedly show up when photos are imported from another source, but i would actually LOVE extra colors to play with. When editing i sometimes use the colors to help my brain stay organized.  So, white, or whatever – any way to label with ANY color(s) in addition to the five defaults? And even if it can't be done directly, there must be some back-door trick to it, no?  i mean, Bridge clearly has the ability to display a white bar, so there's gotta be some way to trigger it.

THANK YOU! YOU GUYS ROCK!

This topic has been closed for replies.
Correct answer Stephen Marsh

Read the script header below for an explanation. A link to info on how to save and install is below the code.

 

/*
This is not really a feature, it is just that Bridge uses a white label colour
for an unsupported label name, so this is really an exploit... 

Here the label name is 'Custom'. This presumes that the default label names are in use (Select, Second, Approved, Review, To Do).

Use at your own risk!
*/

#target bridge
if (BridgeTalk.appName == "bridge") {
    customLabel = new MenuElement("command", "Apply White Label", "at the end of Tools");
}
customLabel.onSelect = function () {
    var sels = app.document.selections;
    for (var i = 0; i < sels.length; i++) {
        var thumb = sels[i];
        var md = thumb.metadata
        md.namespace = "http://ns.adobe.com/xap/1.0/";
        md.Label = "Custom";
        // app.document.chooseMenuItem("PurgeCacheForSelected");
    }
}

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

2 replies

Legend
January 12, 2021

To condense that down, Adobe assigns a white label when the label text (which is really what is written to disk) doesn't match an assigned label text/color combo. The problem is that you could have twenty different labels that would all be white if they didn't match an assigned label.

Pooch88
Pooch88Author
Known Participant
January 12, 2021

thank you

Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
January 11, 2021

Read the script header below for an explanation. A link to info on how to save and install is below the code.

 

/*
This is not really a feature, it is just that Bridge uses a white label colour
for an unsupported label name, so this is really an exploit... 

Here the label name is 'Custom'. This presumes that the default label names are in use (Select, Second, Approved, Review, To Do).

Use at your own risk!
*/

#target bridge
if (BridgeTalk.appName == "bridge") {
    customLabel = new MenuElement("command", "Apply White Label", "at the end of Tools");
}
customLabel.onSelect = function () {
    var sels = app.document.selections;
    for (var i = 0; i < sels.length; i++) {
        var thumb = sels[i];
        var md = thumb.metadata
        md.namespace = "http://ns.adobe.com/xap/1.0/";
        md.Label = "Custom";
        // app.document.chooseMenuItem("PurgeCacheForSelected");
    }
}

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

Pooch88
Pooch88Author
Known Participant
January 11, 2021

thanks so much