Reply To: Clear Overrides Throughout Document on Particular Object StyleObject

Home Page / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Clear Overrides Throughout Document on Particular Object StyleObject / Reply To: Clear Overrides Throughout Document on Particular Object StyleObject

#12243974
Brian Pifer
Participant

Make sure whatever is inside quotation marks (“b”) on the following line is an actual named Object Style in your document:

var oStyle = app.activeDocument.objectStyles.itemByName(“b”);

An example of the change would be:

var oStyle = app.activeDocument.objectStyles.itemByName(“myNamedStyle”);

This article was last modified on February 20, 2020

Comments (0)

Loading comments...