Skip to main content

Get text at a point

Read the text of whatever control is at a point on the screen, e.g. a scrolling text area or a label (G4).

Command in the Desktop objects toolkit · id ooa.desktop_ui/get_text_at_point · 2 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
XNumberYesScreen position from the left, in pixels.
YNumberYesScreen position from the top, in pixels.

Outputs​

OutputTypeWhat it is
textStringThe control's text, or empty.