Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

TouchBar.SetDefaultItemIdentifiers

Sets the default identifiers.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
TouchBar 6.5 Yes No No No No

MBS( "TouchBar.SetDefaultItemIdentifiers"; TouchBarRef; List )

Parameters

Parameter Description Example value
TouchBarRef The reference number for the touch bar. $TouchBar
List The list of items.

Result

Returns OK or error.

Description

Sets 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.

Examples

Sets an item some space and a proxy for others:

MBS( "TouchBar.SetDefaultItemIdentifiers"; $TouchBar; "Print¶NSTouchBarItemIdentifierFixedSpaceSmall¶NSTouchBarItemIdentifierOtherItemsProxy" )

See also

Example Databases


TouchBar.SetCustomizationRequiredItemIdentifiers   -   TouchBar.SetPrincipalItemIdentifier

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins