I have an AutoHotkey script which navigates various pages on a website by URL. Every time I want to open a new page I use the Run
command, which opens a new instance of Internet Explorer.
By the time my script finishes running, I typically have 5 or 6 different windows open just to navigate a website.
How do I open a webpage in Autohotkey without creating a new window?
^j::
Run, iexplore.exe www.example.com/login, , Max
doStuff1()
Run, iexplore.exe www.example.com/settings, , Max
doStuff2()
Run, iexplore.exe www.example.com/wp-admin, , Max
doStuff3()
// doStuff4(), doStuff5(), etc.
return