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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

TouchBar.GetDefaultItemIdentifiers

Queries the default identifiers.

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

Parameters

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

Result

Returns list or error.

Description

Queries the default identifiers.
An array of identifiers specifying the items in this touch bar.
Item identifiers should be globally unique, excepting NSTouchBarItemIdentifierFixedSpaceSmall, NSTouchBarItemIdentifierFixedSpaceLarge, NSTouchBarItemIdentifierFlexibleSpace, and NSTouchBarItemIdentifierOtherItemsProxy.

This array also corresponds to the item ordering for the receiver in the “default set” in the customization palette.

See also

This function checks for a license.

Created 1st November 2016, last changed 9th November 2021


TouchBar.GetCustomizationRequiredItemIdentifiers - TouchBar.GetItemIdentifiers

💬 Ask a question or report a problem