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

Use getNumShelfTabs when you need to know exactly how many tabs are currently in the button shelf.

## Functional area

Interface

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `getNumShelfTabs` |

### Arguments

None

### Flags

None

## Return value

integer

## Examples

```plaintext
getNumShelfTabs;
// Returns an integer value indicating the number of
// tabs currently on the button shelf.
```

# 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)