Multiply Action

image\Action_Variable_Multiply.jpg

The Multiply action allows you to multiply a specified number or the number contained in a different variable with the contents of a variable.

Note:
The other basic math actions available are: Add, Subtract and Divide. For more complex mathematical functions use the OpusScript language.

Setting up the Multiply action:

1. Add the Multiply action to your trigger, as described in adding actions. The Multiply tab will automatically appear when you add the action.

2. Use the Variable option in the Multiply panel to select the name of the variable that will be multiplied. Click on the down arrow to the right of the Variable box to list all of the variables in the current publication. Alternative, click on the New Variable… button to open the New Variable dialog box in which you can create a new variable.

3. Use the Number option in the By panel to enter a number you want to multiply with the value of the variable entered in the Variable box of the Multiply panel (see point 1 above). Use the spin buttons to set a specific number. By default this option is selected.

4. Use the Variable option in the By panel to select the name of a variable in the current publication whose value you want to multiply with the variable entered in the Variable box of the Multiply panel (see point 1 above). Click on the down arrow to the right of the Variable box to list all of the variables in the current publication. Alternative, click on the New Variable… button to open the New Variable dialog box in which you can create a new variable.

Note:
The value of the variable you select here should only contain a number.

5. Click on the Apply button to save your changes.

Related Topics:

Introducing the Variables Actions

Choosing an Action