How to run scripts from the command line

You can enter Shogun Post script commands and view their results in the command line at the bottom of the Shogun Post window.

To run scripts from the Shogun Post command line:

  1. Ensure that the command line specifies the scripting language you want to use (HSL or Python). If it does not, to switch the command line to the required language, click the button at the bottom of the Shogun Post window.
  2. Type one or more commands in the command line text box.
    You don't need a semicolon ( ; ) at the end of a single command name. If you want to run more than one command at a time, separate multiple commands with semicolons ( ; ).
  3. Press Enter.
  4. Check the Log field and the Log button on the status bar for any script execution errors or return values.

Note the following tips for using the command line: