Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

TouchBar.GetPrincipalItemIdentifier

Queries the principal item identifier.

Component Version macOS Windows Linux Server iOS SDK
TouchBar 6.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "TouchBar.GetPrincipalItemIdentifier"; TouchBarRef )   More

Parameters

Parameter Description Example
TouchBarRef The reference number for the touch bar. $TouchBar

Result

Returns text or error.

Description

Queries the principal item identifier.
Specifying a principal item identifier communicates that the item with that identifier has special significance to this touch bar. Currently, that item will be placed in the center of the resolved touch row. Note that multiple visible bars may each specify a principal item identifier - but only one of them can have the request honored.

See also

This function checks for a license.

Created 1st November 2016, last changed 1st November 2016


TouchBar.GetItemIdentifiers - TouchBar.List

💬 Ask a question or report a problem