Community
    • Login

    How to add Opera to Notepad++

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    7 Posts 3 Posters 8.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Schweidel TysonS
      Schweidel Tyson
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Larsen E WhipsnadeL
        Larsen E Whipsnade
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • Larsen E WhipsnadeL
            Larsen E Whipsnade
            last edited by

            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??

            Claudia FrankC 1 Reply Last reply Reply Quote 0
            • Claudia FrankC
              Claudia Frank @Larsen E Whipsnade
              last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • Larsen E WhipsnadeL
                Larsen E Whipsnade
                last edited by

                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.

                Claudia FrankC 1 Reply Last reply Reply Quote 0
                • Claudia FrankC
                  Claudia Frank @Larsen E Whipsnade
                  last edited by

                  @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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors