docs » cp.apple.motion
Represents the Motion application, providing functions that allow different tasks to be accomplished.
- Constants - Useful values which cannot be changed
- BUNDLE_ID
- Methods - API calls which can only be made on an object returned by a constructor
- bundleID
- doRestart
- hide
- launch
- notifier
- path
- quit
- show
Signature | cp.apple.motion.BUNDLE_ID |
---|---|
Type | Constant |
Description | Compressor's Bundle ID |
Signature | cp.apple.motion:bundleID() -> string |
---|---|
Type | Method |
Description | Returns the Compressor Bundle ID |
Parameters |
|
Returns |
|
Signature | cp.apple.motion:doRestart() -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | Returns a Statement that will restart the application. |
Parameters |
|
Returns |
|
Signature | cp.apple.motion:hide() -> self |
---|---|
Type | Method |
Description | Hides Compressor |
Parameters |
|
Returns |
|
Signature | cp.apple.motion:launch([waitSeconds]) -> self |
---|---|
Type | Method |
Description | Launches Compressor, or brings it to the front if it was already running. |
Parameters |
|
Returns |
|
Signature | cp.apple.motion:notifier() -> cp.ui.notifier |
---|---|
Type | Method |
Description | Returns a notifier that is tracking the application UI element. It has already been started. |
Parameters |
|
Returns |
|
Signature | cp.apple.motion:path() -> string or nil |
---|---|
Type | Method |
Description | Path to Compressor Application |
Parameters |
|
Returns |
|
Signature | cp.apple.motion:quit([waitSeconds]) -> self |
---|---|
Type | Method |
Description | Quits Compressor |
Parameters |
|
Returns |
|
Signature | cp.apple.motion:show() -> self |
---|---|
Type | Method |
Description | Activate Compressor |
Parameters |
|
Returns |
|