How to add Opera to Notepad++



  • I have been trying to add Opera to Notepad++ by using the the run command, then entering the path to Opera, but when I try to save the settings Notepad won’t save. Does anybody have a solution for this. I’ve searched the internet to no avail. Desperate.



  • I’ve got the same problem with FireFox; np++ will “Run>IE”, but won’t “Run>Firefox”



  • Hello Schweidel Tyson and Larsen E Whipsnade

    the file in question is the shortcuts.xml which can be found in the npp install directory or
    in %APPDATA%\notepad++ directory. (depends on your installation)

    Check my webserver simulation entry, this should give you an idea how to add opera.

    <UserDefinedCommands>
        <Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>
        <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command>
        <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command>
        <Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="70">safari &quot;$(FULL_CURRENT_PATH)&quot;</Command>
        <Command name="Get php help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/$(CURRENT_WORD)</Command>
        <Command name="Google Search" Ctrl="no" Alt="yes" Shift="no" Key="113">https://www.google.com/search?q=$(CURRENT_WORD)</Command>
        <Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
        <Command name="Open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command>
        <Command name="Open in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -nosession -multiInst</Command>
        <Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a &quot;$(FULL_CURRENT_PATH)&quot;</Command>
        <Command name="webserver simulation" Ctrl="no" Alt="no" Shift="no" Key="0">D:\PortableApps\PortableApps\FirefoxPortable\FirefoxPortable.exe http://localhost/$(FILE_NAME)</Command>
    </UserDefinedCommands>
    

    Cheers
    Claudia



  • I have 3 copies of shortcuts.xml created on different dates. They all appear to be the same just as you have shown:
    “\Documents and Settings\USER\AppData\Roaming\Notepad++\shortcuts.xml”
    “\Program Files (x86)\Notepad++\shortcuts.xml”
    “\Users\USER\AppData\Roaming\Notepad++\shortcuts.xml”

    Should I delete one or two of them, or??



  • @Larsen-E-Whipsnade

    there is no need to delete a file. Depending your installation one of those files get loaded.
    If you click on Debug Info (in ? menu) you will see a line called Local Conf mode.
    When it is set to ON the shortcuts.xml within the installation directory of npp is used
    when set to OFF the one in %APPDATA%\notepad++ is used.

    Did you install firefox or do you use a portable version. If latter, then you
    have to modify the shortcuts.xml like I did in the webserver simulation section.

    Cheers
    Claudia



  • FireFox is a full v47.0 version. npp runs Chrome & IE, no problem. It doesn’t run FireFox. Here’s the Debug Info:
    Notepad++ v6.9.2
    Build time : May 18 2016 - 00:34:05
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : ON
    Local Conf mode : OFF
    OS : Windows 10
    Plugins : ComparePlugin.dll docMonitor.dll ImgTag.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll NppFTP.dll NppNetNote.dll NppTextFX.dll PluginManager.dll SpellChecker.dll

    It doesn’t look like I can edit the Debug Info, so I’m guessing that shortcuts.xml choice is made somewhere else.



  • @Larsen-E-Whipsnade

    what means

    FireFox is a full v47.0 version

    ??

    Firefox has been installed? Not just copied over?
    What happens if you press windows+R key combination
    and type firefox into the run field?

    Cheers
    Claudia


Log in to reply