docs » plugins.core.touchbar.manager
Touch Bar Manager Plugin.
- Constants - Useful values which cannot be changed
- DEFAULT_GROUP
- FILE_NAME
- FOLDER_NAME
- Variables - Configurable values
- maxItems
- numberOfSubGroups
- Functions - API calls offered directly by the extension
- activeGroup
- activeSubGroup
- clear
- forceGroupChange
- getAction
- getActionHandlerID
- getActionTitle
- getBankLabel
- getIcon
- getLabel
- gotoSubGroup
- groupStatus
- incrementActiveSubGroup
- init
- nextSubGroup
- previousSubGroup
- start
- stop
- toggle
- touchbar
- update
- updateAction
- updateBankLabel
- updateIcon
- updateLabel
- updateOrder
- Fields - Variables which can only be accessed from an object returned by a constructor
- buttons
- enabled
- supported
Signature | plugins.core.touchbar.manager.DEFAULT_GROUP -> string |
---|---|
Type | Constant |
Description | The default group. |
Signature | plugins.core.touchbar.manager.FILE_NAME -> string |
---|---|
Type | Constant |
Description | File name of settings file. |
Signature | plugins.core.touchbar.manager.FOLDER_NAME -> string |
---|---|
Type | Constant |
Description | Folder Name where settings file is contained. |
Signature | plugins.core.touchbar.manager.maxItems -> number |
---|---|
Type | Variable |
Description | The maximum number of Touch Bar items per group. |
Signature | plugins.core.touchbar.manager.numberOfSubGroups -> number |
---|---|
Type | Variable |
Description | The number of Sub Groups per Touch Bar Group. |
Signature | plugins.core.touchbar.manager.activeGroup() -> string |
---|---|
Type | Function |
Description | Returns the active group. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.activeSubGroup() -> string |
---|---|
Type | Function |
Description | Returns the active sub-group. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.clear() -> none |
---|---|
Type | Function |
Description | Clears the Touch Bar items. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.forceGroupChange(combinedGroupAndSubGroupID) -> none |
---|---|
Type | Function |
Description | Loads a specific sub-group. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.getAction(button, group) -> string |
---|---|
Type | Function |
Description | Returns a specific Touch Bar Action. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.getActionHandlerID(button, group) -> string |
---|---|
Type | Function |
Description | Returns a specific Touch Bar Action Handler ID. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.getActionTitle(button, group) -> string |
---|---|
Type | Function |
Description | Returns a specific Touch Bar Action Title. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.getBankLabel(group) -> string |
---|---|
Type | Function |
Description | Returns a specific Touch Bar Bank Label. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.getIcon(button, group) -> string |
---|---|
Type | Function |
Description | Returns a specific Touch Bar Icon. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.getLabel(button, group) -> string |
---|---|
Type | Function |
Description | Returns a specific Touch Bar Label. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.gotoSubGroup() -> none |
---|---|
Type | Function |
Description | Loads a specific sub-group. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.groupStatus(groupID, status) -> none |
---|---|
Type | Function |
Description | Updates a group's visibility status. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.incrementActiveSubGroup() -> none |
---|---|
Type | Function |
Description | Increments the active sub-group |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.init(deps) -> self |
---|---|
Type | Function |
Description | Initialises the module. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.nextSubGroup() -> none |
---|---|
Type | Function |
Description | Goes to the next sub-group for the active group. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.previousSubGroup() -> none |
---|---|
Type | Function |
Description | Goes to the previous sub-group for the active group. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.start() -> none |
---|---|
Type | Function |
Description | Starts the CommandPost Touch Bar module. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.stop() -> none |
---|---|
Type | Function |
Description | Stops the CommandPost Touch Bar module. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.toggle() -> none |
---|---|
Type | Function |
Description | Toggles the CommandPost Touch Bar module. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.touchbar() -> none |
---|---|
Type | Function |
Description | Returns the hs._asm.undocumented.touchbar object if it exists. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.update() -> none |
---|---|
Type | Function |
Description | Updates the Touch Bar. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.updateAction(button, group, action) -> boolean |
---|---|
Type | Function |
Description | Updates a Touch Bar action. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.updateBankLabel(group, label) -> none |
---|---|
Type | Function |
Description | Updates a Touch Bar Bank Label. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.updateIcon(button, group, icon) -> none |
---|---|
Type | Function |
Description | Updates a Touch Bar icon. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.updateLabel(button, group, label) -> none |
---|---|
Type | Function |
Description | Updates a Touch Bar label. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.updateOrder(direction, button, group) -> none |
---|---|
Type | Function |
Description | Shifts a Touch Bar button either up or down. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.manager.buttons <cp.prop: table> |
---|---|
Type | Field |
Description | Contains all the saved Touch Bar Buttons |
Signature | plugins.core.touchbar.manager.enabled <cp.prop: boolean> |
---|---|
Type | Field |
Description | Enable or disable Touch Bar Support. |
Signature | plugins.core.touchbar.manager.supported <cp.prop: boolean; read-only> |
---|---|
Type | Field |
Description | Is true if the Touch Bar is supported on this version of macOS. |