Skip to main content
Oct 3, 2006 1:46 AM UTC
Question

Change the label color of selected thumbail

Script which is just changing the the color of the lable of selected thumbnail(s) (eg. from red to green)?

regards

Erkki
This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Oct 5, 2006 10:13 AM UTC
Markus,

It works!
Thank you very much!

Erkki
Translate
Participating Frequently
Oct 5, 2006 6:01 AM UTC
Hi Erkki,

this should work:

var sels = app.document.selections;
for (var i = 0; i < sels.length; i++){
var thumb = sels;
var md = thumb.metadata
md.namespace = "http://ns.adobe.com/xap/1.0/";
md.Label = "Green";
}

Markus
Translate