Is there a way to have multiple color guides?
What we were wanting to do is just as an example. Have say a red guide for one piece of art and a blue for another and so on. And be able to have them on the same sheet.
What we were wanting to do is just as an example. Have say a red guide for one piece of art and a blue for another and so on. And be able to have them on the same sheet.
Why not?
Guides have a guideColor property where the value could be a UIColor or an array of three RGB numbers.
var doc = app.documents[0];
app.documents[0].spreads[0].guides.add
(
{
guideColor : [255,0,0] ,
guideType : GuideTypeOptions.RULER ,
location : "10 mm" ,
orientation : HorizontalOrVertical.VERTICAL ,
fitToPage : true ,
itemLayer : doc.layers[0]
}
);
See DOM documentation:
Adobe InDesign CS6 (8.0) Object Model JS: Guide
Regards,
Uwe
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.