In general, the action interface looks like this:

Where:
- The name of the action, if specified.
- A list of defined action parameters.
To create an action interface, you need to use input parameters. You can configure the list of these parameters in the Parameters pane of the ActionNodes Editor’s Side Panel when creating or editing an action.

The panel contains a toolbar at the top with two buttons: Add parameter to add a new parameter to the parameter list and Clear to remove all parameters from the list. The rest of the panel contains a list of parameters.
When added, the new parameter appears at the end of the list. The order of the parameters in the list corresponds to the order in which the controls are displayed in the graphical interface of the action.
In general, each element in the parameter list consists of a header and a body.

- The header consists of a text label (name) and controls for this item:
- Parameter caption. It consists of the label value (or identifier if no label is specified) and the parameter type specified in brackets.
- Button to move the parameter up the list.
- Button to move the parameter down the list.
- Button to remove a parameter from the list.
- The body of a parameter consists of many elements, the number of which differs depending on the selected parameter type. But there are a certain number of items that are common to all parameters, regardless of their type:
- Identifier. The unique name of the parameter that is accessed from the action algorithm. It is required to be defined. Valid characters for the identifier: uppercase and lowercase Latin characters, numbers, and the “_” character.
- Label. A text label that is displayed to the left of the control in the GUI of the action. It is optional. If not specified, the identifier is displayed as a label.
- Tooltip. A tooltip for a parameter. Displays as a standard tooltip when you hover over the controls of an action parameter in the action GUI. If necessary, type here additional information for the user of your action. Optional.
- Checkable. Sets the ability to check a parameter in the action’s GUI. If this option is checked, a checkbox appears to the left of this parameter in the action’s GUI. If it is unchecked, the controls for this parameter become disabled, and if it is checked, they become enabled.
- Checked by default. This option is available only if the Checkable option (4) is turned on. Sets the default value for the Checkable parameter.
- Type. Sets the type of the parameter. Depending on the type, the editor for the parameter changes, which is used to set the value for it. Also, depending on the type, all subsequent items in the parameter body change.
- All elements in this area after the Type element set the settings for the editor for the specified type. The number of these elements and their type varies depending on the specified type.
Settings for parameter editors #
Depending on the specified parameter type, the list of elements in the parameter body that define its settings changes.
Boolean #

This parameter returns a Boolean value. To get the value of this parameter, use the GetBooleanValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
For this type, you can only set a default value to initialize the editor (checkbox) for this parameter of the action’s GUI.
String #

This parameter returns a String value. To get the value of this parameter, use the GetStringValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
For this type, you can only set a default value, which is the string that initializes the editor (an input field) for this parameter of the action’s GUI.
Integer #

This parameter returns an Integer value. To get the value of this parameter, use the GetIntegerValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
For an editor of this type, you can specify the following settings:
- Default. This is an integer value that will be used to initialize the editor for this parameter.
- Min. This is the minimum value that is valid for this parameter. You will not be able to set a value less than this in the editor for this parameter.
- Max. This is the maximum value that is allowed for this parameter. You will not be able to set more than this value in the editor for this parameter.
- Units. Sets the units of measurement for the parameter. Does not affect the operation of the editor, only adds a visual hint to the user about the units of measurement for the parameter in the form of a text label on the right side of the parameter editor.
Decimal #

This parameter returns a Decimal value. To get the value of this parameter, use the GetDecimalValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
The settings for this type are quite similar to those for the Integer type:
- Default. This is a fractional value that will be used to initialize the editor for this parameter.
- Min. Sets the minimum allowed fractional value that can be set in the action GUI editor for this parameter.
- Max. Sets the maximum allowed fractional value that can be set in the action GUI editor for this parameter.
- Step. Specifies the step to change the value when clicking on the up and down buttons of the editor in the action GUI for this parameter.
- Units. Sets the visual hint for the units of measurement that appears to the right of the value in the editor in the action GUI for this parameter. Does not affect the operation of the parameter.
List #

This parameter returns an Integer value. To get the value of this parameter, use the GetIntegerValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
This type allows you to configure a combo box as an editor for a parameter in the action’s GUI.
The setting shown in the image above will create the following combo box:

Each setting item has the following structure:

- Item number.
- Radio button to set the default (selected) item for the combo box.
- The number to which this item corresponds. It is returned as the value of this parameter if this item was selected in the combo box.
- Separator check box. If this check box is checked, this item is a separator. The separator is displayed as a horizontal line in the combo box, cannot be selected, and is mainly used as a visual separator of items into groups. Since the separator is not selectable, it cannot be assigned a number to return the result. Also, checking this checkbox will not work if the current item is the last item in the list that is not a separator.
- The text label for the current item in the combo box.
- Button to move the item up the list.
- Button to move the item down the list.
- Button to remove an item from the list. Does not work if you try to remove the last item from the list that is not a separator.
- Button to insert a new item after the current item.
Color #

This parameter returns a Color value. To get the value of this parameter, use the GetColorValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
For this type, you can only set a default value, which is the color that initializes the editor for this parameter of the action’s GUI.
Gradient #

This parameter returns a Gradient value. To get the value of this parameter, use the GetGradientValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
For this type, you can only set a default value, which is the gradient that initializes the editor for this parameter of the action’s GUI.
File Name #

This parameter returns a String value. To get the value of this parameter, use the GetStringValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
The editor for this type of parameter is an input field with the ability to specify a file through a standard file selection dialog. You can set the following settings for this editor:
- Default. The default value (full file name) that initializes the editor for this parameter of the action’s GUI.
- Dialog Box Title. The title of the file selection dialog box that opens when you click the corresponding button on the right side of the editor for this parameter.
- Is Save Dialog Box. If the checkbox is checked, the dialog box allows you to specify a name for a file that doesn’t exist – this is usually available in file-saving dialog boxes. If the checkbox is unchecked, only an existing file can be selected in the file selection dialog.
- Filters. Specifies a list of filters for file names used in the file selection dialog box. If you want to specify a description for a filter, type it, and then type the filter itself in parentheses, for example, Text Files (*.txt). Then only the text in the parentheses will be used as a filter. If you want to specify several filter options for one element, just write down the filters separated by spaces, for example, JPEG Files (*.jpeg *.jpg).
Path #

This parameter returns a String value. To get the value of this parameter, use the GetStringValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
The editor for this type of parameter is an input field with the ability to specify a folder using the standard folder selection dialog. For this editor, you can specify the following settings:
- Default. A default value (folder path) that initializes the editor for this parameter of the action’s GUI.
- Dialog Box Title. The title of the folder selection dialog box.
Font #

This parameter returns an Integer value (an index of the selected font in the fonts list). To get the value of this parameter, use the GetIntegerValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter. To get information about the selected font, use the GetFontName, GetFontFamilyName, and GetFontStyleName nodes.
For this type, you can only set a default value, which is the font name that initializes the editor (a combo box with a list of fonts available in Photoshop) for this parameter of the action’s GUI.
Action #

This parameter returns an Action value. To get the value of this parameter, use the GetActionValue node by selecting the item in the Value Type property that corresponds to the identifier of this parameter.
For this type, you can only set a default value – the Photoshop action that initializes the editor (a combo box with a list of available Photoshop actions) for this action GUI option.