So far, I tried retrieving it with things like
Code: Select all
IEObject.Document.body
Here is the full code, but it's mainly pasted from the AHK Docs:
Code: Select all
Gui Add, Edit, w930 r1 vURL, https://www.autohotkey.com/boards/
Gui Add, Button, x+6 yp w44 Default, Go
Gui Add, ActiveX, xm w980 h640 vWB, Shell.Explorer
ComObjConnect(WB, WB_events) ; Connect WB's events to the WB_events class object.
Gui Show
; Continue on to load the initial page:
WB.Silent := 1 ;Disabling annoying script errors
ButtonGo:
Gui Submit, NoHide
WB.Navigate(URL)
return
class WB_events
{
NavigateComplete2(wb, NewURL)
{
GuiControl,, URL, %NewURL% ; Update the URL edit control.
msgbox % WB.Document.body.innerText ;Empty
}
DownloadBegin() {
}
}
GuiClose:
ExitApp