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

Use selectShelfTab to select the tabs on the Shogun Post ribbon: **Subject Setup**, **Processing**, **Objects**, **Panels**, or any other tab you have created. You can select by name, number, or go through the tabs by Next or Previous.

## Functional area

Interface

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `selectShelfTab ["tabName" | tabNumber ] [-next] [-prev]` |

### Arguments

> Macro (scroll-tablelayout)

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `tabNumber` | int | yes | identifies the tab to select by number |
| `tabName` | string | yes | identifies the tab to select by name |

### Flags

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `next` | 0 | — | prev | — |
| `prev` | 0 | — | next | — |

## Return value

void

## Examples

```plaintext
selectShelfTab "Panels"; //selects the Shelf Tab "Panels":
```