Opening an h2 html element link in a new tab

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
nicocs29
Posts: 5
Joined: 19 Dec 2016, 22:09

Opening an h2 html element link in a new tab

19 Dec 2016, 22:17

As the title says, I'm trying to get the right click or context menu to show on an html element (which is a link as h2) to then select "Open in new tab"
All i want to do is to open a link in a new tab in IE.
I can do a click with:

Code: Select all

obj.document.all.tags("H2")[0].click()
I'm not even sure if that .click() is a COM or a Javascript method.

Thank you.
nicocs29
Posts: 5
Joined: 19 Dec 2016, 22:09

Re: Opening an h2 html element link in a new tab

20 Dec 2016, 11:56

I think this is a COM method , not a Javascript one.

I'm doing web automation work.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Mannaia666, ntepa and 230 guests