Shortcut to start the default browser

Share your favorite FastKeys commands
Post Reply
User avatar
Posts: 59
Joined: Mar 18th, ’14, 08:46

Post by Ennovy » Oct 16th, ’14, 13:55

I wanted only one shortcut to start the default browser. I use Google Chrome or Firefox as the default browser.
There are two ways to to that:

1. You can make a shortcut to start a URL like "" and when executed it will open in the default browser
2. I made a tiny script that reads a value in the Windows Registry and acts accordingly

Shortcut: Ctrl + Shift + 0 (or anything you like)
Description: Start the default browser
Type: Command

Code: Select all

If vBrowser contains firefox
run C:\Program Files (x86)\Mozilla Firefox\firefox.exe
Else if vBrowser contains Chrome
run C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Please comment if you know another/better way ;)

Only tested on Windows 7 (64 bit)
Posts: 4
Joined: May 30th, ’13, 00:02

Post by SteveQ » Dec 12th, ’16, 07:22

Thanks for posting this, it works fine. I actually prefer the first method, (like Run, but I have now learned how to get the information from the registry. Very useful, thanks.
Post Reply