#cp.apple.finalcutpro.main.FullScreenPlayer

Full Screen Window Player.

Triggered by the "View > Playback > Play Full Screen" menubar item.


#API Overview

Functions - API calls offered directly by the extension

Constructors - API calls which return an object, typically one that offers API methods

Fields - Variables which can only be accessed from an object returned by a constructor

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Functions

Signaturecp.apple.finalcutpro.main.FullScreenPlayer.matches(element) -> boolean
TypeFunction
DescriptionChecks to see if an element matches what we think it should be.
Parameters
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/FullScreenPlayer.lua line 41

#Constructors

Signaturecp.apple.finalcutpro.main.FullScreenPlayer(app) -> FullScreenPlayer
TypeConstructor
DescriptionCreates a new FCPX FullScreenPlayer instance.
Parameters
  • app - The FCP app instance.
Returns
  • The new FullScreenPlayer.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/FullScreenPlayer.lua line 58

#Fields

Signaturecp.apple.finalcutpro.main.FullScreenPlayer.isFullScreen <cp.prop; boolean; read-only; live>
TypeField
DescriptionChecks if the window is full-screen.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/FullScreenPlayer.lua line 112

Signaturecp.apple.finalcutpro.main.FullScreenPlayer.rootGroupUI <cp.prop: hs.axuielement; read-only; live>
TypeField
DescriptionThe root AXGroup.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/FullScreenPlayer.lua line 79

Signaturecp.apple.finalcutpro.main.FullScreenPlayer.viewerGroupUI <cp.prop: hs.axuielement; read-only; live>
TypeField
DescriptionThe Viewer's group UI element.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/FullScreenPlayer.lua line 91

#Methods

Signaturecp.apple.finalcutpro.main.FullScreenPlayer:doShow() -> <cp.rx.go.Statement>
TypeMethod
DescriptionA Statement that attempts to show the full screen window.
Parameters
  • None
Returns
  • The Statement to execute.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/FullScreenPlayer.lua line 155

Signaturecp.apple.finalcutpro.main.FullScreenPlayer:show() -> cp.apple.finalcutpro
TypeMethod
DescriptionAttempts to show the full screen window.
Parameters
  • None
Returns
  • The window instance.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/FullScreenPlayer.lua line 141