Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keyboard Shortcut - Open Several Web Pages at Once
#1
Lightbulb 
ShortKeeper already has a basic “Launch website” command to let you quickly create a shortcut to launch a web page. But what if you want a shortcut that will launch several web pages at once? ShortKeeper has you covered with its “Run AutoHotkey code” command.

The following three scripts (one for IE, one for Chrome, and one for Firefox) launch four websites (cedeq.com, autohotkey.com, google.com, and bing.com). The scripts are designed to launch all four websites in different tabs inside the same browser window.

Need help creating a keyboard shortcut with ShortKeeper using the following AutoHotkey code? This 5-minute tutorial will help!

Internet Explorer (IE):
Pwb :=  ComObjCreate("InternetExplorer.Application")
Pwb.Visible:=True
Pwb.Navigate("https://www.cedeq.com")
Pwb.Navigate("https://www.autohotkey.com", 2048)
Pwb.Navigate("https://www.google.com", 2048)
Pwb.Navigate("https://www.bing.com", 2048)

Google Chrome:
run % "chrome.exe " . "https://www.cedeq.com"
winwait ahk_class Chrome_WidgetWin_1
run % "chrome.exe " . "https://www.autohotkey.com"
run % "chrome.exe " . "https://www.google.com"
run % "chrome.exe " . "https://www.bing.com"

Mozilla Firefox:
run % "firefox.exe " . "https://www.cedeq.com"
winwait ahk_class MozillaWindowClass
run % "firefox.exe " . "https://www.autohotkey.com"
run % "firefox.exe " . "https://www.google.com"
run % "firefox.exe " . "https://www.bing.com"

Simple enough!!
Enterpad: For those who need more than a few shortcuts.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)