InternetExplorer.Application find code for button

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
tm6464
Posts: 48
Joined: 17 Jul 2017, 22:56

InternetExplorer.Application find code for button

20 Oct 2018, 14:53

Hi all
i want click this button

Image
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: InternetExplorer.Application find code for button

21 Oct 2018, 15:23

try the querySelector() route, as demonstrated in the other thread. target either the i or a tags
wb.document.querySelector("i.icon.icon-link-icon.icon-trash").click()
tm6464
Posts: 48
Joined: 17 Jul 2017, 22:56

Re: InternetExplorer.Application find code for button

21 Oct 2018, 17:11

thx a lot swagfag
querySelector() works fine
is there any website that shows what to use? or any better tool like iWB2 Learner that automaticly generate code?
tm6464
Posts: 48
Joined: 17 Jul 2017, 22:56

Re: InternetExplorer.Application find code for button

21 Oct 2018, 17:47

On the website i have more then one time the icon "i.icon.icon-link-icon.icon-trash"
the script always press the first one
is there any way to make a script that can choose by uper name

i can send u my test acc so u can login and see the html code better

Image
can you get insurance on a salvage title
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: InternetExplorer.Application find code for button

22 Oct 2018, 00:43

Look up css selectors. You can use + and > to refer to sibling and child elements, respectively. I can't login with your account, but you can pay the relevant HTML if you want to. Make sure it includes both the title and the button.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ccqcl, claudiosxj, Rohwedder and 234 guests