#plugins.core.tangent.manager

Tangent Control Surface Manager

This plugin allows CommandPost to communicate with Tangent's range of panels (Element, Virtual Element Apps, Wave, Ripple and any future panels).

Download the Tangent Developer Support Pack & Tangent Hub Installer for Mac here: http://www.tangentwave.co.uk/developer-support


#Submodules


#API Overview

Constants - Useful values which cannot be changed

Variables - Configurable values

Functions - API calls offered directly by the extension


#API Documentation

#Constants

Signatureplugins.core.tangent.manager.APPLICATION_NAME_SUFFIX -> string
TypeConstant
DescriptionA suffix applied to the end of Application Names as they appear in Tangent Mapper
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 41

Signatureplugins.core.tangent.manager.MAXIMUM_CONNECTIONS -> number
TypeConstant
DescriptionMaximum number of socket connections to Tangent Hub.
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 56

Signatureplugins.core.tangent.manager.NUMBER_OF_FAVOURITES -> number
TypeConstant
DescriptionMaximum number of favourites.
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 51

Signatureplugins.core.tangent.manager.USER_CONTROL_MAPS_FOLDER -> string
TypeConstant
DescriptionThe full name for storing User Control Maps
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 46

#Variables

Signatureplugins.core.tangent.manager.applicationNameToGroupID -> table
TypeVariable
DescriptionA table to translate an Application Name to a Group ID for the Search Console
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 71

Signatureplugins.core.tangent.manager.customApplications <cp.prop: table>
TypeVariable
DescriptionTable of Custom Applications
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 61

Signatureplugins.core.tangent.manager.enabled <cp.prop: boolean>
TypeVariable
DescriptionEnable or disables the Tangent Manager.
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 104

Signatureplugins.core.tangent.manager.tangentHubInstalled <cp.prop: boolean>
TypeVariable
DescriptionIs Tangent Hub Installed?
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 76

Signatureplugins.core.tangent.manager.tangentMapperInstalled <cp.prop: boolean>
TypeVariable
DescriptionIs Tangent Mapper Installed?
NotesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 83

#Functions

Signatureplugins.core.tangent.manager.applicationNames() -> table
TypeFunction
DescriptionGets a table listing all the connections application names.
Parameters
  • None
Returns
  • A table containing the names of all the registered connections.
NotesNone
ExamplesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 170

Signatureplugins.core.tangent.manager.getConnection(applicationName) -> connection
TypeFunction
DescriptionGets a Tangent connection object.
Parameters
  • applicationName - Your application name as a string
Returns
  • The connection object
NotesNone
ExamplesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 157

Signatureplugins.core.tangent.manager.launchTangentMapper() -> none
TypeFunction
DescriptionLaunches the Tangent Mapper.
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 91

Signatureplugins.core.tangent.manager.newConnection(applicationName, systemPath, userPath, task, pluginPath, addDefaultModes, setupFn, transportFn, groupID) -> connection
TypeFunction
DescriptionCreates a new Tangent Connection
Parameters
  • applicationName - The application name as a string. This is what appears in CommandPost Preferences.
  • systemPath - A string containing the absolute path of the directory that contains the Controls and Default Map XML files.
  • userPath - An optional string containing the absolute path of the directory that contains the User’s Default Map XML files.
  • task - An optional string containing the name of the task associated with the application.
  • pluginPath - A string containing the absolute path of the directory that contains the built-in Default Map XML files.
  • addDefaultModes - A boolean which indicates whether or not CommandPost should add any default modes.
  • setupFn - Setup function.
  • transportFn - Transport function.
  • groupID - The group ID used by the Search Console.
Returns
  • The connection object
Notes
  • Notes for the task parameter:
  • ** This is used to assist with automatic switching of panels when your application gains mouse focus on the GUI.
  • ** This parameter should only be required if the string passed in appStr does not match the Task name that the OS identifies as your application. Typically, this is only usually required for Plugins which run within a parent Host application. Under these circumstances it is the name of the Host Application’s Task which should be passed.
ExamplesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 122

Signatureplugins.core.tangent.manager.registerCustomApplication(applicationName, bundleExecutable) -> none
TypeFunction
DescriptionRegisters a new Custom Application
Parameters
  • applicationName - The display name of the custom application
  • bundleExecutable - The bundle executable identifier of the custom application
Returns
  • A table where the application name is the key, and display name is the value.
NotesNone
ExamplesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 188

Signatureplugins.core.tangent.manager.removeCustomApplication(applicationName) -> none
TypeFunction
DescriptionRemoves a Custom Application.
Parameters
  • applicationName - The display name of the Custom Application to Remove.
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 212

Signatureplugins.core.tangent.manager.setupCustomApplications() -> none
TypeFunction
DescriptionSetup the Custom Applications.
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/core/tangent/manager/init.lua line 243