Copy link to clipboard
Copied
I want to use a set of labels for my work and a different set of labels for my personal files. Anybody have a idea how to solve that kind of a problem? I know that Lightroom can handle more than one set of labels. Mainly I'm dealing with photos.
Best,
Martin
Copy link to clipboard
Copied
Label metadata is a text field, so you can store any label you want. You would have to assign a different set of colors to particular text and manually (or with a script) swap them out. Labels not in the current set are shown as white in Bridge.
Copy link to clipboard
Copied
Thank you for your reply!
Any idea how to script such process? Sounds quite unconvenient to manually rename the labels every time I switch from work to personal.
Copy link to clipboard
Copied
Here is a sample script to choose between two sets of labels. I don't have time to complete things like adding new sets but that could be done with five text entry fields and an Add button.
Adobe has info about scripting Bridge on their website https://console.adobe.io/servicesandapis
#target bridge
if(BridgeTalk.appName == 'bridge'){
//create menu
var labelSetsCmd = MenuElement.create('command', 'Label Sets Demo...', 'at the end of Tools'); //create new menu command
}
labelSetsCmd.onSelect = function(){
labelSets();
}
function labelSets(){
try{
app.preferences.mylabels = 'Set 1-1,Set 1-2,Set 1-3,Set 1-4,Set 1-5|Set 2-1,Set 2-2,Set 2-3,Set 2-4,Set 2-5';
var Sets = app.preferences.mylabels.split('|');
var currentSelection = 0;
var currentSet = 0;
var lPalette = new Window('palette', 'Label Sets Demo', undefined, {closeButton:true});
lPalette.preferredSize = [200, 160];
lPalette.frameLocation = [100, 100];
var lpnl = lPalette.add('panel', undefined, '');
lpnl.dropdown = lpnl.add('dropdownlist', undefined, '');
for(var i = 0; i < Sets.length; i++){
try{
lpnl.dropdown.add('item', 'Set ' + (i + 1));
}
catch(e){
alert(e + ' ' + e.line);
}
}
lpnl.lBtn = lpnl.add('button', [15, 25, 130, 45], 'Apply');
lpnl.lBtn2 = lpnl.add('button', [15, 70, 130, 90], 'Cancel');
lPalette.show();
lpnl.lBtn.onClick = function(){
currentSelection = lpnl.dropdown.selection.index;
currentSet = Sets[currentSelection].split(',');
app.preferences.Label1 = currentSet[0];
app.preferences.Label2 = currentSet[1];
app.preferences.Label3 = currentSet[2];
app.preferences.Label4 = currentSet[3];
app.preferences.Label5 = currentSet[4];
}
lpnl.lBtn2.onClick = function(){
lPalette.close();
}
}
catch(e){
}
}
Copy link to clipboard
Copied
Thank you so much! I'll try it out.
Cheers!
Copy link to clipboard
Copied
This is just a demo, not a finished script. But it has the bones of how to do this.
Copy link to clipboard
Copied
Since I have no idea about scripting, seems like I have to wait till (hopefully!) Adobe implement this feature to Bridge.
Copy link to clipboard
Copied
Don't hold your breath. I'm guessing this isn't anywhere on their to-do list.
Copy link to clipboard
Copied
Like waiting to see pigs flying .................. maybe, soon, not ever.............