|
Navigation: Click-Script Guide > Custom Actions > Defining Parameters |
|
Custom Actions work exactly as a function of the imperative programming languages. You must define the formal parameters that will be the input data for the actions you include inside your custom action.
| • | First you must define the number of parameters you want for your custom action, changing the ParamsCount property. |
| • | Then you must define each property of each parameter: |
Name |
The name of the parameter. This name must to be unique. To access the value of this parameter inside the custom action, you must refer the variable called %ParameterName%. For example, if you define the parameter's name Message, the variable with this parameter's value will be %Message%. |
Description |
The description of the parameter, that will be displayed in the click-script's editor. |
Type |
The type of the parameter. |
Variable |
Defines if the parameter can be changed and returned to the caller event. If you select true for this property, and during the custom action you change the value of the variable %ParameterName%, the variable related to this parameter in the caller event will be changed to the %ParameterName% variable's value. |