Image (Placeditem) scaling, Color profile used in the doc, apply the Swatches for content in illustr

Explorer ,
Dec 09, 2020 Dec 09, 2020

Copy link to clipboard

Copied

Hi,

I am struggling to get the below details from Illustrator. Can any one look into this and give the solution from out from this?

(1) I am unable to generate color profile (ICC) from the Illustrator document, but i can able to generate from Indesign (app.activeDocument.cmykProfile). Please check and advise for illustrator.

(2) Please advise how to get Image Scaling details from Illustrator through script.

Screenshot 2020-12-09 at 6.35.18 PM.png

(3) The content names and Swatch names are same, so i want to apply the same swatches color for that text as find and replace or anyother option through script. Please do the needful.

Colors.png

For that i do the following JS code,

for(var x =1; x<inkTxtFrm.lines.length;x++) {

for(var y =0; y<finlInk.length;y++) {

if(inkTxtFrm.lines[x].contents == finlInk[y]) {

var sel = inkTxtFrm.lines[x].contents.select();

sel.fillColor = finlInkVlu[y];

}

}

}

 

But i am unable to get the result. Please do the needful.

 

Thanks in Advance

Asuvath

TOPICS
Scripting

Views

46

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation