Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check text area content of a child window
#9
Also try accessible object functions. Use dialog "Find accessible object" to capture the text area object. Capture when it is with text, to see whether it is possible to get its text. If the dialog does not show text in the "Name" field or in the "Other properties" grid, accessible object functions cannot be used.

Example with Notepad.
Macro Macro2728
Code:
Copy      Help
int w=win("Untitled - Notepad" "Notepad")
Acc a.Find(w "TEXT" "" "class=Edit[]id=15" 0x1004)
str s=a.Value
if s.len
,out s
else
,out "<empty>"
,


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)