open Internet Explorer in new tab via the command line (not new window) Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
User avatar
jeeswg
Posts: 6904
Joined: 19 Dec 2016, 01:58
Location: UK

open Internet Explorer in new tab via the command line (not new window)  Topic is solved

21 Aug 2017, 21:30

Code: Select all

;tested on Windows 7 64-bit, Internet Explorer 11

q:: ;internet explorer - open in new tab
vUrl := "https://www.google.com/"
Run, cmd.exe /c start "C:\Program Files\Internet Explorer\iexplore.exe" "%vUrl%",, Hide
return

w:: ;internet explorer - open in new window
vUrl := "https://www.google.com/"
Run, iexplore.exe "%vUrl%"
return

e:: ;internet explorer - open in new window (homepage)
Run, iexplore.exe
return

r:: ;internet explorer - open in new tab (multiple pages)
Loop, 3
{
	vUrl := "https://en.wikipedia.org/wiki/" Chr(64+A_Index)
	Run, cmd.exe /c start "C:\Program Files\Internet Explorer\iexplore.exe" "%vUrl%",, Hide
	Sleep 300
}
return
Useful links:
CUGC : Blogs : Open IE Sessions In New Tab Instead Of New Window
https://www.mycugc.org/blog/open-ie-ses ... new-window
How to change Priority to "AboveNormal"? - Ask for Help - AutoHotkey Community
https://autohotkey.com/board/topic/4648 ... ovenormal/
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask For Help”

Who is online

Users browsing this forum: Google [Bot], hyaray, TAC109 and 192 guests