BreakTheWind wrote:Thanks, that did work.
I did saw many examples creating the object first, but I saw one that had "pwb" that didn't create an object, so I thought its a variable that creates its own object and does everything automatically, but I was very wrong. It works now, thanks!
I'm not sure how I failed to do it for so much time.
You should definitely add the below added code, otherwise you'll end up with multiple remaining IE instances (In case you decide to run that thing in "stealth" mode).
[...]
MsgBox, % var := pwb.document.getElementById("mqbutton").innertext "`n" title
Sleep, 500
pwb.quit() ; quit IE instance
Return