Set paragraph shading color of text defaults to c we have changed the shading property of the read-only No Paragraph Style if we delete and replace No Paragraph Style's shading color with "Paper" Set c to object reference of paragraph shading color of nopara but we can get it, which by default is the cyan swatch. No Paragraph style's properties are read only so we can't set the paragraph shading color Set nopara to item 1 of all paragraph styles No Paragraph Style is item 1 or in all paragraph styles Set p to object reference of item 3 of every swatch the default Paper swatch is item 3 or in all swatches Tell application "Adobe InDesign CC 2015" If I run this on CC2015 with no doc's open it edits the normally read only. Here is an annotated AppleScript, which sets No Paragraph Style's shading to. Uwe, if you are still following, I looked at this again today and it's true that No Paragraph Style is read only, but there does seem to be a round about way to set its paragraph shading property. So " C=100 M=0 Y=0 K=0" will stay with us for a long time, I – a note about the scripting side:Īt least in ExtendScript I am not able to assign a different color to the paragraphShadingColor property of paragraphs, the "".
For the app, best used when no documents are open, setting a new default value:Īpp.emByName("C=100 M=0 Y=0 K=0").remove(("Paper")) Īnd afterwards one could add a new color named "" that falls in the category "Unused Color".
This code in ExtendScript will work:Īpp.("C=100 M=0 Y=0 K=0").remove(("Paper")) But what we can do is removing "" and exchanging that with "" (or any other color I suppose) by using the scripting method remove(). But we could change this on an individual bases doc by doc as – a note about the scripting side:Īt least in ExtendScript I am not able to assign a different color to the paragraphShadingColor property of paragraphs, the "". Opening older documents saved in v11.0.0 and older documents saved in v10.2 or below will still struggle with a "" that is tied to the fill color of paragraph shading of the "" style. However with the help of Rob, I found out that exchanging the standard "" with "" when no document is open and rebuilding a new "" afterwards to stay in synch with the behavior of InDesign CC-2014 will remove the problem for all new documents built from now on. So " C=100 M=0 Y=0 K=0" will stay with us for a long time, I suspect Trying to assign "None" to the paragraph shading color property as valueĪpp.paragraphStyles.paragraphShadingColor = "None" One can address the "No Paragraph Style" by the index of 0 of the paragraph styles collection of the app (that means InDesign) like that:Īpp. Īnd one cannot change this.
Just tested this by scripting (ExtendScript/JavaScript) and can confirm my assumption.
And "Basic Paragraph Style" is based on "No Paragraph Style". I suspect, that fill color " C=100 M=0 Y=0 K=0" is part of the "invisible" "No Paragraph Style" paragraph style. You still have a swatch named " C=100 M=0 Y=0 K=0" that is in use. Changing the default fill color of paragraph shading, if you are changing the defaults of your "Basic Paragraph Style" when no document is open to " None" and proceed.