The Computer Oracle

In Notepad++, how can I launch my HTML files in Google Chrome through the Run menu?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Mysterious Puzzle

--

Chapters
00:00 In Notepad++, How Can I Launch My Html Files In Google Chrome Through The Run Menu?
00:35 Answer 1 Score 6
01:06 Accepted Answer Score 9
01:22 Answer 3 Score 1
01:34 Answer 4 Score 0
01:45 Thank you

--

Full question
https://superuser.com/questions/168387/i...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#googlechrome #notepad++

#avk47



ACCEPTED ANSWER

Score 9


If you download the latest version (5.7?), the Run Menu has four different "Launch in browser" menu items (IE, Firefox, Chrome, and Safari)




ANSWER 2

Score 6


You can edit the link in the run menu by going to the %AppData%\Notepad++ directory and editing the shortcuts.xml file to reference the proper location of Chrome.

<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command>

Thats what it reads by default

<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">%LocalAppData%\Google\Chrome\Application\Chrome.exe &quot;$(FULL_CURRENT_PATH)&quot;</Command>

That's what it could read

Type this into the run command box:

%LocalAppData%\Google\Chrome\Application\Chrome.exe "$(FULL_CURRENT_PATH)"



ANSWER 3

Score 1


Try adding the shortcuts you want in Settings > Shortcut Mapper > Run commands.




ANSWER 4

Score 0


I made the shortcut to be Alt + Shift + R and all is working fine.

The same for the other browser shortcuts.