Question About ComObj DIV Topic is solved

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

Question About ComObj DIV

26 Jul 2017, 12:53

Hi
Any suggestions that might help?
Would you like to read the "innertext" value of this field and then click on it?
Any tips?

Image of properties iWB2 Learner
[img]
https://autohotkey.com/boards/download/ ... ew&id=2657
[/img]

I try:

Code: Select all

for vb in ComObjCreate("Shell.Application").Windows
If InStr(vb.locationURL, "https://servicemanager.net.system.com.br")
{
V_Div := wb.document.getElementsByTagName("DIV")
PPiframe := ComObj(9,ComObjQuery(wb.document.getElementById("ext-gen414").contentWindow,"{332C4427-26CB-11D0-B483-00C04FD90119}","{332C4427-26CB-11D0-B483-00C04FD90119}"),1)
Var := PPiframe.V_Div.innertext
}
Attachments
err.jpg
err.jpg (50.31 KiB) Viewed 714 times
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: Question About ComObj DIV  Topic is solved

26 Jul 2017, 13:34

Code: Select all

V_Div := PPiframe.document.getElementsByTagName("DIV")
for key,div in V_Div
	MsgBox % Var := div.innertext
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
snowmind
Posts: 124
Joined: 12 Nov 2015, 15:18

Re: Question About ComObj DIV

26 Jul 2017, 14:26

tank wrote:

Code: Select all

V_Div := PPiframe.document.getElementsByTagName("DIV")
for key,div in V_Div
	MsgBox % Var := div.innertext
tks very much tank ! :P

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Araphen, Oblomov228, uchihito and 170 guests