docs » cp.apple.finalcutpro.main.SecondaryWindow
Secondary Window Module.
- Functions - API calls offered directly by the extension
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- SecondaryWindow
- Fields - Variables which can only be accessed from an object returned by a constructor
- browserGroupUI
- frame
- hsWindow
- isFullScreen
- isShowing
- rootGroupUI
- timelineGroupUI
- viewerGroupUI
- Methods - API calls which can only be made on an object returned by a constructor
- app
- doShow
- show
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.matches(element) -> boolean |
|---|---|
| Type | Function |
| Description | Checks to see if an element matches what we think it should be. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.SecondaryWindow(app) -> SecondaryWindow |
|---|---|
| Type | Constructor |
| Description | Creates a new SecondaryWindow instance. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.browserGroupUI <cp.prop: hs._asm.axuielement; read-only; live> |
|---|---|
| Type | Field |
| Description | The UI element that will contain the Browser if it's on the Secondary Window. |
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.frame <cp.prop: frame> |
|---|---|
| Type | Field |
| Description | The current position (x, y, width, height) of the window. |
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.hsWindow <cp.prop: hs.window; read-only; live> |
|---|---|
| Type | Field |
| Description | The hs.window instance for the window, or nil if it can't be found. |
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.isFullScreen <cp.prop: boolean; live> |
|---|---|
| Type | Field |
| Description | Is true if the window is full-screen. |
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.isShowing <cp.prop: boolean; read-only; live> |
|---|---|
| Type | Field |
| Description | Is true if the window is visible. |
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.rootGroupUI <cp.prop: hs._asm.axuielement; read-only; live> |
|---|---|
| Type | Field |
| Description | The root UI element on the window. |
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.timelineGroupUI <cp.prop: hs._asm.axuielement; read-only; live> |
|---|---|
| Type | Field |
| Description | The UI element that will contain the Timeline if it's on the Secondary Window. |
| Signature | cp.apple.finalcutpro.main.SecondaryWindow.viewerGroupUI <cp.prop: hs._asm.axuielement; read-only; live> |
|---|---|
| Type | Field |
| Description | The UI element that will contain the Viewer if it's on the Secondary Window. |
| Signature | cp.apple.finalcutpro.main.SecondaryWindow:app() -> App |
|---|---|
| Type | Method |
| Description | Returns the app instance representing Final Cut Pro. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.SecondaryWindow:doShow() -> cp.rx.go.Statement |
|---|---|
| Type | Method |
| Description | A Statement that shows the Secondary Window. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.SecondaryWindow:show() -> SecondaryWindow |
|---|---|
| Type | Method |
| Description | Show the Secondary Window. |
| Parameters |
|
| Returns |
|