Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] find acc object error - point not on screen/window
#6
or better still this works without scrolling

Function Function2a
Code:
Copy      Help
int w=wait(3 WV win("8 People Madonna Looked Like At The Grammys - Mozilla Firefox" "Mozilla*WindowClass" "" 0x4))
Acc a.FindFF(w "A" "" "role=button" 0x1084 3)
a.DoDefaultAction

or if you want it to scroll do like this
Function Function2b
Code:
Copy      Help
int w=wait(3 WV win("8 People Madonna Looked Like At The Grammys - Mozilla Firefox" "Mozilla*WindowClass" "" 0x4))
Acc a.FindFF(w "A" "" "role=button" 0x1084 3)
a.WebScrollTo
a.DoDefaultAction

along with changing search parameters , sometimes need to change acc attributes as well


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)