---
title: "createShelfTab"
canonical: "https://help.vicon.com/space/Shogun111/13207744/createShelfTab"
format: markdown
---
# Description

Shelf buttons are interface objects that contain script commands. Tabs are groups of buttons or layers that may be used to organize the button into user-defined categories.

This command creates a shelf tab with the given name. It is used to build the button shelf when Shogun Post is launched (see *ScriptShelves.hsl* in the main *ShogunPost#.#* directory).

## Functional area

Interface

# Command syntax

## Syntax

|  |
| --- |
| `createShelfTab "tabName1" ["tabName..."]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `tabName` |  |  | String representing the name of the tab to create. Quotes around the name are optional although good practice. |

### Flags

None

## Return value

void

## Examples

```plaintext
createShelfTab "fileOps"; // This script will create a tab called "fileOps".
```

# Additional information

## Related commands

- [createShelfButton](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13207740)