hs._asm.axuielement
with a AXCheckBox
role. It allows checking and modifying the checked
status like so:CheckBox
as a function, which will return the checked
status:cp.ui.CheckBox.matches(element) -> boolean
hs._asm.axuielement
is a CheckBox.axuielement
to check.true
if it's a match, or false
if not.cp.ui.CheckBox(parent, uiFinder) -> cp.ui.CheckBox
hs._asm.axuielement
when available.CheckBox
.cp.ui.CheckBox.checked <cp.prop: boolean>
cp.ui.CheckBox.title <cp.prop: string; read-only>
cp.ui.CheckBox:click() -> self
CheckBox
instance.cp.ui.CheckBox:doCheck() -> cp.rx.go.Statement
Statement
that will ensure the CheckBox
is checked.cp.ui.CheckBox:doPress() -> cp.rx.go.Statement
Statement
that will press the button when executed, if available at the time.Statement
which will press the button when executed.cp.ui.CheckBox:doUncheck() -> cp.rx.go.Statement
Statement
that will ensure the CheckBox
is unchecked.cp.ui.CheckBox:loadLayout(layout) -> nil
saveLayout
method.cp.ui.CheckBox:press() -> self
UI
is not available.CheckBox
instance.cp.ui.CheckBox:saveLayout() -> table
cp.ui.CheckBox:toggle() -> self
checked
status of the button.CheckBox
instance.