> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IToolbarButton

> IToolbarButton in the FlexiCapture shell scripting model: read or set a toolbar button's command identifier, text, visibility, and enabled state.

## What it does

Represents a toolbar button.

## Properties

<table width="100%"><thead><tr><th><p><strong>Name</strong></p></th><th><p><strong>Type</strong></p></th><th><p><strong>Access</strong></p></th><th><p><strong>Description</strong></p></th></tr></thead><tbody><tr><td><p>Command</p></td><td><p><a href="/flexi-capture/appendix/scripts-shell/tcommandid">TCommandID</a></p></td><td><p>Read-only</p></td><td><p>The command identifier. The returned value cannot be <strong>CI\_SubMenu</strong>.</p><p>If there is no identifier for a command among <a href="/flexi-capture/appendix/scripts-shell/tcommandid">TCommandID</a> values, <strong>CI\_Undefined</strong> is returned</p></td></tr><tr><td><p>Enable</p></td><td><p>bool</p></td><td><p>Read/write</p></td><td><p>Specifies whether to enable toolbar buttons:</p><ul><li>If the value is set to <strong>false</strong>, all toolbar buttons with the specified identifier (the <strong>Command</strong> property) will be disabled.</li><li>If the value is set to <strong>true</strong>, enabling toolbar buttons depends on the internal logic of the program.</li></ul></td></tr><tr><td><p>Text</p></td><td><p>string</p></td><td><p>Read/write</p></td><td><p>The text on the toolbar button</p></td></tr><tr><td><p>Visible</p></td><td><p>bool</p></td><td><p>Read/write</p></td><td><p>Specifies whether a toolbar button or a separator is visible</p></td></tr></tbody></table>
