Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firefox reverse find acc object
#2
Please post the code that the dialog creates.

This code works as expected:
Macro Macro2753
Code:
Copy      Help
int w=win(" - Mozilla Firefox" "MozillaWindowClass")
PerfFirst
Acc a.Find(w "TEXT" "Phrase not found" "state=0x0 0x20000040" 0x1085) ;;52 ms with the Reverse flag
;Acc a.Find(w "TEXT" "Phrase not found" "state=0x0 0x20000040" 0x1005) ;;630 ms without the flag
PerfNext
PerfOut

Often the dialog finds faster than the code because, while the dialog is open, all Firefox accessible objects are created (when retrieving the object tree) and alive.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)