Run Commands Issue
Still not working. Try for yourself.
Try it yourself.
Well, I did try it, before posting what I posted. With the imbalanced quotes, as you said it does nothing (which is sort of bad…some sort of error message might be better…). Once I balanced the quotes out, running the command opened my current editor file in Chrome. Not clear what is going wrong for you with the information given…
DestructiveBurn last edited by DestructiveBurn
With or without Quotes I get this.
This is getting to be really frustrating to the point I might need to start looking for Alternative editors.
That’s using this line.
<Command name=“Chrome” Ctrl=“no” Alt=“no” Shift=“no” Key=“0”>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe “$(FULL_CURRENT_PATH)”</Command>
Ah, okay, I see it now (that .png file makes it really obvious)…your double quote characters are not all the same (see the “a” with the “hat” on it where double quotes should be?). Suggest you make them all like the one before the
C:\Program Files...…use copy and paste on that character…
Still no go. Just copy the hole “Command name” that works for you and i’ll try it. It makes it difficult to guess your steps.
Okay–that’s a reasonable approach at this stage:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "$(FULL_CURRENT_PATH)"
Of course I’m not positive what copy and paste of that could do to the double-quotes. :-)
Both Chrome and Chrome Portable now work showing the code.
<Command name=“Chrome” Ctrl=“no” Alt=“no” Shift=“no” Key=“0”>“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” “$(FULL_CURRENT_PATH)”</Command>
<Command name=“Chrome Portable” Ctrl=“no” Alt=“no” Shift=“no” Key=“0”>“C:\Users\Pauline\Desktop\Others\All Data\GoogleChromePortable\GoogleChromePortable.exe” “$(FULL_CURRENT_PATH)”</Command>
Thank you for your time. It works great again. Now i can also add Opera to the run. :) Thanks. You made my day!
Rajkumar Tamang last edited by
I have the same issue do we have video to see as an example because i am unable to understand it.
Really really appreciate if you could show in steps please
PeterJones last edited by
First: Don’t hijack other threads. It won’t help you get an answer here any faster, and it is considered exceedingly rude (and thus would likely influence many potential responders to not give you an answer).
Second: the contributors to this forum are not paid support, and are in no way obligated to get you your “pizza in 30 minutes or less”. We are fellow users of Notepad++ who volunteer our own time to help other users. It is quite possible for a question to take minutes, hours, or even a day or more to get a response, depending on the topic, how busy people are, how polite you were, etc.
Third: If you’ve “stopped working” as you claim in the hijacked thread, you’ve made a poor choice. If you were editing your source code using plane-jane notepad.exe (or any other text editor without all the awesome features of Notepad++), you wouldn’t have an auto-launch feature. But you’d have this nice
File > Openmenu (or equivalent) from Chrome, Firefox, Internet Explorer, Edge, or any other browser I’ve ever seen, which would allow you manually open up your local webpage with only a couple more clicks that running it from Notepad++'s
Run > Launch in Chromewould do for you. And then use the browser’s refresh button to reload after you make a change and hit SAVE in Notepad++.
Fourth: this thread already pretty-well describes what you need to do to get it to work in Notepad++. I don’t see how a video would help.
However, in a spirit of education, I will summarize the steps for you:
shortcuts.xml: it will either be in
%AppData%\Notepad++or in your program’s install or portable directory (same folder as
place the lines that DestructiveBurn listed in your
shortcuts.xml, except use ASCII quotes, not unicode smart-quotes.
<Command name="Chrome" Ctrl="no" Alt="no" Shift="no" Key="0">"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "$(FULL_CURRENT_PATH)"</Command> <Command name="Chrome Portable" Ctrl="no" Alt="no" Shift="no" Key="0">"C:\Users\Pauline\Desktop\Others\All Data\GoogleChromePortable\GoogleChromePortable.exe" "$(FULL_CURRENT_PATH)"</Command>
Those rows replace the existing “Launch in Chrome” shortcut
The specific paths given (
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"or
"C:\Users\Pauline\Desktop\Others\All Data\GoogleChromePortable\GoogleChromePortable.exe") need to be updated to the appropriate path to
chrome.exeon your system.
If you are only using a standard installation of Chrome, not a portable edition, you don’t need the “Chrome Portable” row
- the edited
shortcuts.xmlwill not take effect unless you exit and reload
- the edited
Rajkumar Tamang last edited by