Composing a host action

Note: Host actions are only available in the Cleo VLTrader and Cleo Harmony applications.
A host action consists of one or more commands that are to be run sequentially as a group (similar to a script). You may choose to have one host action that does all commands, or you may choose to have separate host actions, each performing different commands.
  1. Right-click a host in the tree pane and select New HostAction.
  2. Enter a unique hostaction alias and click OK.
  3. Select the host action in the tree pane.
    The potential set of commands for host actions is given below: 
    Type Command Purpose
    Local commands SET Change an action property value.  See your host's command reference or to Local command reference for a description of SET.
      CLEAR Clear an action string property. See your host's command reference or to Local command reference CLEAR Command for a description of CLEAR.
    Extended commands CHECK Check for certain events or non-events (Cleo VLTrader and Cleo Harmony applications only).  See CHECK command for a description of CHECK.
    SCRIPT Run an external JavaScript file. (Cleo VLTrader and Cleo Harmony applications only).  See SCRIPT command for a description of SCRIPT.
  4. Right-click in the empty space or on a command in the Actions tab to display a menu.
    • Select Edit to edit the current line using the dialog editor (refer to step 4).
    • Select Insert (or the  button) to insert a new line before the current line using the dialog editor (refer to step 4).
    • Select Move Down or Move Up (or the  and  buttons) to move the current line down or up.
    • Select Comment (or the  button) to change the current command line to a comment line.
    • Select Delete (or the  button) to clear the current line.
  5. The Actions tab is a freeform editor. For JavaScript actions, type in your JavaScript. For Commands actions, if you are familiar with the supported commands and syntax, you can type commands in directly. Otherwise, a dialog editor is available to format commands for you. To open the dialog editor, click the wizard button.
    Note: The wizard button is not available for JavaScript actions.
    1. Select the desired command from the list on the left.
      The dialog prompts for source and destination paths and allows browsing.
      Available options for the command are listed. The resultant command text is displayed on the bottom line (native GUI only).
    2. Edit as necessary and click OK.