---
title: "loadScript"
canonical: "https://help.vicon.com/space/Shogun112/31235650/loadScript"
format: markdown
---
# Description

Use this command to load a script into the Script Editor.

## Functional area

Interface

# Command syntax

## Syntax

|  |
| --- |
| `loadScript ["scriptPath"]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `scriptPath` | string | yes | Path to the script file |

### Flags

None

## Return value

void

## Examples

```plaintext
loadScript ["C:/ShogunPostScripts/Pipelines/Process.hsl"]
```