Skip to main content

Script Commands

Script commands can be accessed by right clicking a script in the extension tree.

Commit to Current Version

Available on the script right click menu when a script is local and differs from the committed version.

Commits the currently saved local script to the current version of the script. Does not create a new version.

You may also add a commit message if one did not already exist on the version, modify the existing message, or leave the existing message as is.

Commit to New Version

Available on the script right click menu when a script is local and differs from the committed version.

Commits the currently saved local script to a new version, leaving untouched any previous versions.

You may also optionally add a commit message.

Force Commit to New Version

Available when turned on in the extension settings.

Commits the currently saved local script to a new version, leaving untouched any previous versions, but overriding all commit protections.

You may also optionally add a commit message.

Delete Script

Available when right clicking a script.

Deletes a Script and removes it from the local workspace if present.

Diff with Local

Available when a local script differs from the committed version.

Displays a diff view of the current local script and the current committed version.

Diff Version with Local

Available when a local script differs from the committed version.

Displays a diff view of the current local script and the older selected version when right clicking on an older version of the Script.

Diff with Version…

Available when a script is local.

Allows you to select another version to diff against a version you select in the tree.

Discard Changes

Available when a local script differs from the committed version.

Discards any local changes and deletes the file from the local workspace.

Open

Available on scripts.

Opens a script for editing or viewing.

Reveal in File Explorer

Available when a script is local.

Open a file explorer to the location of the last selected file.

Run Script

Allows you to execute a script from the exported script module as a Client, OMAPI, or Orchestrator script.

Run Script with Input

Allows you to execute a script from the exported script module as a Client, OMAPI, or Orchestrator script and provide input to the script. Input must be JSON, and will be available as the input parameter of the script.