#cp.ui.axutils.match
Contains common hs.axuielement
matching functions.
#API Overview
Functions - API calls offered directly by the extension
#API Documentation
#Functions
Signature | cp.ui.axutils.match.emptyList(element) -> function |
Type | Function |
Description | Returns a match function that will return true if element is an empty list, or has no children. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/ui/axutils.lua line 825 |
Signature | cp.ui.axutils.match.exactly(value) -> function |
Type | Function |
Description | Returns a match function that will return true if the axuielement matches the provided value exactly. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/ui/axutils.lua line 810 |
Signature | cp.ui.axutils.match.isAbove(value) -> function |
Type | Function |
Description | Returns a match function that will return true if the axuielement is above the provided value axuielement . |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/ui/axutils.lua line 884 |
Signature | cp.ui.axutils.match.isBelow(value) -> function |
Type | Function |
Description | Returns a match function that will return true if the axuielement is below the provided value axuielement . |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/ui/axutils.lua line 861 |
Signature | cp.ui.axutils.match.isLeftOf(value) -> function |
Type | Function |
Description | Returns a match function that will return true if the axuielement is left of the provided value axuielement . |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/ui/axutils.lua line 907 |
Signature | cp.ui.axutils.match.isRightOf(value) -> function |
Type | Function |
Description | Returns a match function that will return true if the axuielement is right of the provided value axuielement . |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/ui/axutils.lua line 930 |
Signature | cp.ui.axutils.match.role(roleName) -> function |
Type | Function |
Description | Returns a match function that will return true if the axuielement has the specified AXRole . |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/ui/axutils.lua line 795 |