docs » plugins.core.touchbar.manager
Touch Bar Manager Plugin. This handles both the Virtual Touch Bar and adding items to the physical Touch Bar.
- Variables - Configurable values
- closeBox
- defaultGroup
- maxItems
- numberOfSubGroups
- Functions - API calls offered directly by the extension
- activeGroup
- activeSubGroup
- clear
- getAction
- getActionHandlerID
- getActionTitle
- getIcon
- getLabel
- groupStatus
- incrementActiveSubGroup
- start
- stop
- toggle
- touchBar
- update
- updateAction
- updateIcon
- updateLabel
- Fields - Variables which can only be accessed from an object returned by a constructor
- buttons
- enabled
- supported
Signature | plugins.core.touchbar.manager.closeBox -> boolean |
---|---|
Type | Variable |
Description | An optional boolean, specifying whether or not the system |
Signature | plugins.core.touchbar.manager.defaultGroup -> string |
---|---|
Type | Variable |
Description | The default group. |
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.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.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.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.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) -> none |
---|---|
Type | Function |
Description | Updates a Touch Bar action. |
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 action. |
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. |