After using IE developer tools script doesnæt work

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Ernestas
Posts: 33
Joined: 16 Apr 2018, 02:07

After using IE developer tools script doesnæt work

04 Jul 2018, 03:34

hello guys!

I have face with a problem when using develper tools. If you guys have any Idea why does it happens, please explain it to me. I would be very grateful for that :)
So, before I run developer tools with F12 on IE this code works just fine:

Code: Select all

+q::
pwb := WBGet()
if !ComObjType(pwb)
   msgbox, Object is not connected
loop,
{
   Var:= pwb.document.getElementsByClassName("ui-tabs-anchor")[A_index-1].InnerText
   msgbox, %A_index% "-" %var%
}
return
And after I click F12 and than just exit developer tools, this code (see up) doens't work and gives me an error message "Error: 0x80020006 - Unknown name." So it seems, that after using F12 somehow code, can not find the variables.
I would really appriciate if you guys explain me why does not it work, THANK YOU!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Rohwedder and 372 guests