Skip to content

Instantly share code, notes, and snippets.

@JoeGlines
Created April 22, 2021 13:53
Show Gist options
  • Save JoeGlines/a76820940dd6dba288021c03bb76ba35 to your computer and use it in GitHub Desktop.
Save JoeGlines/a76820940dd6dba288021c03bb76ba35 to your computer and use it in GitHub Desktop.
;*******************************************************
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY
; Right now you can get a coupon code here: https://the-Automator.com/Learn
;*******************************************************
pwb := WBGet()
MsgBox % IsObject(pwb)
MsgBox % pwb.LocationURL
MsgBox % Var:=pwb.document.GetElementsByTagName("Input")[0].Value ;Get value
MsgBox % Var:=pwb.document.GetElementsByTagName("LI")[5].Value ;Don't use this- it doesn't pull back anything helpfu
MsgBox % Var:=pwb.document.GetElementsByTagName("LI")[5].OuterHTML ;Get InnerText
MsgBox % Var:=pwb.document.GetElementsByTagName("LI")[5].InnerHTML ;Get InnerHTML
MsgBox % Var:=pwb.document.GetElementsByTagName("LI")[5].OuterHTML ;Get OuterHTML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment