Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
122 lines (101 loc) · 9.59 KB

cp.apple.finalcutpro.main.SecondaryWindow.md

File metadata and controls

122 lines (101 loc) · 9.59 KB

docs » cp.apple.finalcutpro.main.SecondaryWindow


Secondary Window Module.

API Overview

API Documentation

Functions

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
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false

Constructors

Signature cp.apple.finalcutpro.main.SecondaryWindow(app) -> SecondaryWindow
Type Constructor
Description Creates a new SecondaryWindow instance.
Parameters
  • app - The cp.apple.finalcutpro object.
Returns
  • A new SecondaryWindow object.

Fields

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.

Methods

Signature cp.apple.finalcutpro.main.SecondaryWindow:app() -> App
Type Method
Description Returns the app instance representing Final Cut Pro.
Parameters
  • None
Returns
  • App
Signature cp.apple.finalcutpro.main.SecondaryWindow:doShow() -> cp.rx.go.Statement
Type Method
Description A Statement that shows the Secondary Window.
Parameters
  • None
Returns
  • The SecondaryWindow object.
Signature cp.apple.finalcutpro.main.SecondaryWindow:show() -> SecondaryWindow
Type Method
Description Show the Secondary Window.
Parameters
  • None
Returns
  • The SecondaryWindow object.