Navigation:  Scripting >

Script Expressions

Previous pageReturn to chapter overviewNext page

Script expressions can be inserted into any step field (even radio buttons, checkboxes, and combo boxes via field overrides) or macro value.  A script expression is indicated by placing brackets around it (i.e., [5+5]); the script language used is the default script language set in the application options dialog.  When using the Insert button on the Script Editor dialog, the brackets are added automatically.

 

Note: To enter a literal bracket character in a field, type two bracket characters [[ or ]].

 

Script code in a field or macro is evaluated whenever the step is built.  Normally, when editing a step, script code is not evaluated for display in a field's tool tip (this allows viewing of the script code after any macros have been expanded).  Holding down the Shift key before moving the mouse cursor over the field will cause the script code to be evaluated and displayed in the tool tip.