Doubt To Click using COM

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
snowmind
Posts: 124
Joined: 12 Nov 2015, 15:18

Doubt To Click using COM

02 Oct 2019, 11:20

Hi guys :roll:

I have a question if anyone can help me. I wrote a script that should click on a specific link on a page of my company. I'm using Internet Explorer 11.
On my machine the script works correctly and clicks the link.

Code: Select all

for wb in ComObjCreate("Shell.Application").Windows
If InStr(wb.locationURL, "http://10.141.0.103:9081/itim")
{
wb.document.parentWindow.frames.portfolio_canvas_area.canvas_area.canvas_task_frame.document.getElementById("id_request_filter_other_request_find").Click(
}
But when I run the script on other computers that also use IE11, the message appears:
0x80020006 - UnKnow Name
Specificaly: portfolio_canvas_area

What can it be?
Yes, There's 3 frames in this page. :think:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], mikeyww, Spawnova and 350 guests