pwb := ComObjCreate("InternetExplorer.Application") pwb.Visible := True pwb.Navigate(OutputVar4) While, (pwb.ReadyState != 4) Sleep, 100
To run URLs that require IE since my default browser is Firefox. I didn't write this, I've seen it used in a few places and copied it. Does anyone have any tips for having COM create a new tab in my existing IE window instead of creating a new window, assuming an IE window exists? I've figured out how to pull this off if I make my pre-existing IE window with COM but if I open IE by clicking instead of COM then I can't figure out how to create a new tab in that. My script will just open a new window instead.
I can't write in COM well. I've seen several threads dealing with creating new IE tabs in pre-existing non-COM created IE windows (like http://www.autohotke...age__hl__ie tab) but can't figure out how to repurpose them for myself since they have all sorts of other things in them and idk what does what for the life of me.