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

Get the list of directories searched by Shogun Post to generate the internal list of scripts and pipelines.

This list can also be viewed at the top of the **Directories** tab in the **Preferences** dialog.

## Functional area

System

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `getScriptPaths` |

### Arguments

None

### Flags

None

## Return value

String array

## Examples

```plaintext
 string $paths[] = `getScriptPaths`;
```

# Additional information

## Related commands

- [addScriptPath](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738562)
- [clearScriptPaths](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737120)
- [deleteScriptPath](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737382)