Copy link to clipboard
Copied
Hi All,
I want to assign articles to multiple files, I am able to do it, but not able to change user color to yellow. I am not able to find Here properties for color information.
Here is my code.
Could anyone help me?
Sumit
According to K4 documentation, there is no articleColor property. So you attempt may just fall into water.
Class: K4Article | K4 InDesign Javascript API Documentation
However, setting a non defined property normally ends with an execution error inside InDesign, I am presuming K4 plugin catches it before InDesign gets concerned.
Copy link to clipboard
Copied
According to K4 documentation, there is no articleColor property. So you attempt may just fall into water.
Class: K4Article | K4 InDesign Javascript API Documentation
However, setting a non defined property normally ends with an execution error inside InDesign, I am presuming K4 plugin catches it before InDesign gets concerned.
Copy link to clipboard
Copied
Thanks Loic.
Copy link to clipboard
Copied
Hi All,
var myArticle = myDocument.k4Articles.add({k4Name: myArticleName, articleColor: UIColors.YELLOW});
How to create article only for "All Text Objects".
Regards,
Praveen
Copy link to clipboard
Copied
Hi Praveen,
You can use "doc.stories.everyItem()".
Thanks,
Sumit
Copy link to clipboard
Copied
Hi all,
Can you anyone please help how to assign layout output channel name to article output channel,
function startArticleWorkflow(pub) {
Find more inspiration, events, and resources on the new Adobe Community
Explore Now