Manage CommandPost's constants and settings.
Constants - Useful values which cannot be changed
​appName​
​appVersion​
​assetsPath​
​basePath​
​bundledPluginsPath​
​bundleID​
​cachePath​
​configPrefix​
​developerMode​
​iconPath​
​languagePath​
​menubarIconPath​
​pluginPaths​
​privacyPolicyURL​
​processID​
​scriptPath​
​sourceExtensions​
​sourceWatcher​
​translationURL​
​userConfigRootPath​
​userPluginsPath​
Variables - Configurable values
​automaticScriptReloading​
Fields - Variables which can only be accessed from an object returned by a constructor
​frontmost​
Signature |
|
Type | Constant |
Description | The name of the Application |
Signature |
|
Type | Constant |
Description | Prefix used for Configuration Settings |
Signature |
|
Type | Constant |
Description | Path to where Application Assets are stored |
Signature |
|
Type | Constant |
Description | Path to where the Extensions & Plugins folders are stored. |
Signature |
|
Type | Constant |
Description | The path to bundled plugins |
Signature |
|
Type | Constant |
Description | Application's Bundle ID |
Signature |
|
Type | Constant |
Description | The path to the CommandPost Cache folder. |
Signature |
|
Type | Constant |
Description | Prefix used for Configuration Settings |
Signature |
|
Type | Constant |
Description | When |
Signature |
|
Type | Constant |
Description | Path to the Application Icon |
Signature |
|
Type | Constant |
Description | Path to the Languages Folder |
Signature |
|
Type | Constant |
Description | Path to the Menubar Application Icon |
Signature |
|
Type | Constant |
Description | Table of Plugins Paths. Earlier entries take precedence. |
Signature |
|
Type | Constant |
Description | URL for Privacy Policy |
Signature |
|
Type | Constant |
Description | Application's Process ID |
Signature |
|
Type | Constant |
Description | Path to where Application Scripts are stored |
Signature |
|
Type | Constant |
Description | Extensions for files which will trigger a reload when modified. |
Signature |
|
Type | Constant |
Description | A |
Signature |
|
Type | Constant |
Description | URL for Translations |
Signature |
|
Type | Constant |
Description | The path to user configuration folders |
Signature |
|
Type | Constant |
Description | The path to user plugins |
Signature |
|
Type | Variable |
Description | Automatic Script Reloading. |
Signature |
|
Type | Function |
Description | Returns the Application as a hs.application object |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Loads a setting |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Returns a |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Resets all the settings for the Application |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Saves a setting with common datatypes |
Parameters | ​ |
Returns | ​ |
Notes | ​ |
Signature |
|
Type | Function |
Description | Unregisters the watcher with the specified ID. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Watches for config events. |
Parameters | ​ |
Returns | ​ |
Notes | ​ |
Signature |
|
Type | Field |
Description | Returns whether or not the Application is frontmost. |