Using scripts to define a custom action, Using scripts to define a custom action -14 – Grass Valley Xpanel Vertigo Suite v.4.8 User Manual
Page 100

5-14
Xpanel User Manual
Adding events and actions to primitives and objects
To add and define an Else statement:
1.
With the event selected in the Action Editor and an If condition defined in the Action
Editor, click the A
DD
E
LSE
button.
2.
Click
N
OTE
If the Action Editor’s standard actions do not perform the specific functions that you require,
you can select the C
USTOM
action, which allows you to use scripts to define the desired logic
and behavior. See
“Using scripts to define a custom action” on page 5-14
for more information.
3.
Set the action’s parameters which appear in the right-hand section of the Action Editor.
Note that when a parameter is selected, a brief description of the parameter appears
below the parameter list.
When setting some properties or parameters, Xpanel uses prefixes to specify the
origins of objects and data. See
“Prefixes (Control:, Data:, L:, G:)” on page 6-14
more information on the prefixes that Xpanel uses to identify objects and data.
4.
Optional: Click on the Action’s C
OMMENT
column and type a user-friendly description of
the purpose or behavior of the action.
Using scripts to define a custom action
If the Action Editor’s default actions do not perform the specific functions that you require,
you can create custom actions that allow you to use scripts to define the desired logic and
behavior.
To create a custom action:
1.
Select C
USTOM
from the Action drop-down list.
The Action Parameters section at right is replaced by the Custom Actions list, which
will contain any previous custom actions you or another user may have created.