"translation" by COM (IE11) to Chrome.ahk

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
jekko1976
Posts: 97
Joined: 10 Oct 2014, 07:03

"translation" by COM (IE11) to Chrome.ahk

11 May 2021, 08:27

Hello,
for many years I have used COM to interact with web pages but now I realize that it's becoming not possible anymore. Many sites refuse to work with IE11

I use very often this function:

Code: Select all

id := wb.document.getElementsBytagname("foo")

		loop % id.length
		{
			if id[a_index-1].innertext="bar"
			{		
			 id[a_index-1].click()
			 break
			}
		}

How can I "translate" it to use the function with the Chrome.ahk library?

More in general, where could I find a reference to convert my knowledge of the COM object into the Chrome.ahk syntax?
Thank you

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada and 277 guests