Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets whether customize menu is automatically enabled.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
TouchBar | 6.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
Setting | The new setting. Can be 1 to enable or 0 to disable. |
1 |
Returns OK or error.
Enable menu command:
If [MBS( "TouchBar.Available" )]
Set Variable [$r; Value:MBS( "TouchBar.SetAutomaticCustomizeTouchBarMenuItemEnabled"; 1 )]
End If
Disable it:
Set Variable [ $r; Value: MBS( "TouchBar.SetAutomaticCustomizeTouchBarMenuItemEnabled"; 0 ) ]
This function is free to use.
Created 1st November 2016, last changed 5th July 2021
TouchBar.ReleaseAll - TouchBar.SetCustomizationAllowedItemIdentifiers