You are here: Object Model Reference > SuppressDefaultScript Property

SuppressDefaultScript Property

Specifies whether a user script augments the default style behavior or completely overrides it.

Type

Applies To

Boolean

Script

Remarks

If you specify a script in the Script property of a character style, and that style has default D2HML behavior determined by its Behavior property, you can use the SuppressDefaultScript property to completely override the default behavior of the style. By default, SuppressDefaultScript = False, which means that your script will be executed after the default action defined by the style Behavior is performed. If you set the SuppressDefaultScript to True, your script will be the only action triggered by the style.

Location

      Click the Project Icon.

      Select the Scripts item from the left pane Tree View.

      The property is located under the Misc group in the Properties Pane.