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.
(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.
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
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.
(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.
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
Have something to add?