Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessible Objects - List of possible actions?
#1
I am not experienced with finding accessible objects and would like to know how I can find out for each accessible object found in a web page what the possible actions are and what they do?

All I know is

a.DoDefaultAction

How do I find a list for each object please?

Thank you in advance
#2
type a. then a list will come up.
#3
Max 1 action is accessible, and it is called "default". To see what it does, click the Properties button in dialog "Find accessible object". To see actions of all objects, run this macro.

Macro Macro7
Code:
Copy      Help
out
int w=win("Accessible Objects - List of possible actions? - Google Chrome" "Chrome_WidgetWin_1")
Acc a.Find(w "DOCUMENT" "Accessible Objects - List of possible actions?" "" 0x3001)
ARRAY(Acc) b
a.GetChildObjects(b -1)
int i
for i 0 b.len
,str da=b[i].a.DefaultAction(b[i].elem); err continue
,if(da.len=0) continue
,str role name
,b[i].Role(role)
,name=b[i].Name
,out F"{role%%-10s}  name={name%%-20s}  action={da}"
#4
Brilliant thank you guys


Forum Jump:


Users browsing this thread: 1 Guest(s)