Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting the name of a web link object and checking it
#1
I'm tabbing through a web page. Each time I tab on a link, I 'key Y' to open that link.

But, in the case of a link with the text , "Paid Programming", the window that opens hangs.

I'd like to be able to determine the name of the web page item and see if it is "Paid Programming:" before I 'key Y'. If it is, I'll just 'key T' to go to the next object. If it's not "Paid Programming:", I'll 'key Y'

Your help is appreciateed.

Gordon Payne
Toronto
#2
in what browser are you doing this?
An old blog on QM coding and automation.

The Macro Hook
#3
Code:
Copy      Help
Acc a=acc(win)
Acc af
rep
,key T
,
,a.Focus(0 af)
,str name=af.Name
,out name
,if(name~"Paid Programming") continue
,
,;key Y
,1


Forum Jump:


Users browsing this thread: 1 Guest(s)