Set Custom Property Action

Event Function: SetCustProp

The Set Custom Property action sets a custom property where you specify. Set what you want to affect (paragraph, cell, table, etc.), the property name and the value.

Using the Events tab

Under Enter Example

Run Skip Condition

If desired, enter skip conditions for the event. When the "Run Skip Condition" is evaluated to be true, the action is not performed.

Where

The 'Where' option is in relation to the cell or context menu that the action was executed. If the "Where" does not make sense then nothing happens.

Paragraph

Property Name

The name of the property

"SKIP"

Property Value

The value of the property

"1"

Recalculate

A yes or no decision to recalculate the document after this event is run. The absence of a value in this parameter implies "Do not recalculate".

"1" (for Yes)

Syntax (if entering it in the Equation bar)

ACTION("SetCustProp", expr1, expr2, expr3, expr4 )

Where

expr1 = entry under where

expr2 = entry under property name

expr3 = entry under property value

expr4 = entry under recalculate

How the example will appear in the Equation bar

ACTION("SetCustProp", "Paragraph", "SKIP", "1", "1")

Related Topics