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

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

## Functional area

Interface

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `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"]
```