// A serialization of a position as POD. Not for sharing on disk or sharing // across thread or process boundaries, just for passing a position to an // API that works with positions as opaque objects.
hs.axuielement.axtextmarker._functionCheck() -> table
hs.axuielement.axtextmarker:bytes() -> string | nil, errorString
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Function | | Description | Returns a string containing the opaque binary data contained within the axTextMarkerObject | | Parameters |hs.axuielement.axtextmarker:endMarker() -> axTextMarkerObject | nil, errorString
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Function | | Description | Returns the ending marker for an axTextMarkerRangeObject | | Parameters |hs.axuielement.axtextmarker:length() -> integer | nil, errorString
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Function | | Description | Returns an integer specifying the number of bytes in the data portion of the axTextMarkerObject. | | Parameters |hs.axuielement.axtextmarker:startMarker() -> axTextMarkerObject | nil, errorString
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Function | | Description | Returns the starting marker for an axTextMarkerRangeObject | | Parameters |hs.axuielement.axtextmarker.newMarker(string) -> axTextMarkerObject | nil, errorString
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Constructor | | Description | Creates a new AXTextMarker object from the string of binary data provided | | Parameters |string
- a string containing 1 or more bytes of data for the AXTextMarker objecths.axuielement.axtextmarker.newRange(startMarker, endMarker) -> axTextMarkerRangeObject | nil, errorString
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Constructor | | Description | Creates a new AXTextMarkerRange object from the start and end markers provided | | Parameters |startMarker
- an axTextMarkerObject representing the start of the range to be createdendMarker
- an axTextMarkerObject representing the end of the range to be created