object = accText(wndID);
Will search for a child accessible object having the ROLE_SYSTEM_TEXT role.
Represents an editable text control, single or multiline. The accName property is the text in the static control which precedes this edit control. The value of the control (accValue) returns the text being edited, unless this is a password protected field.
wnd Overview | MS Accessibility