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

Use renameShelfTab to rename tabs on the shelf.

Changes the name of the `nameFrom` tab to `nameTo`. The tab `nameFrom` must exist on the script shelf, or the command will error.

## Functional area

Interface

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `renameShelfTab "nameFrom" "nameTo"` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `nameTo` | string |  | The new string name of the shelf tab to be renamed |
| `nameFrom` | string |  | The string name of the shelf tab to be renamed |

### Flags

None

## Return value

void

## Examples

```plaintext
renameShelfTab "filters" "R_Filters";
// Changes the name of the shelf tab "filters" to "R_Filters"
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [createShelfTab](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737931)
- [deleteShelfTab](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738610)