• Login
Community
  • Login

How to allow Notepadd++ to launch in Brave browser

Scheduled Pinned Locked Moved General Discussion
launchbrave browserlaunch in bravebrave
5 Posts 2 Posters 1.7k 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.
  • S
    Scott Wilks
    last edited by Jun 17, 2019, 1:16 PM

    Firstly, find where Brave is installed on your PC. Usually: C:\Program Files (x86)\BraveSoftware

    In that folder, go to into the folder “Brave-Browser” and copy the “Application” folder.

    Then, go into C:\Users\ %yourusername%\AppData\Local and paste the application folder you copied in the previous step into C:\Users\ %yourusername%\AppData\Local\BraveSoftware. So now in that folder you should have 3 folders, application, brave-browser and crashreports.

    Now, find “shortcuts.xml” (usually in C:\users\ %username%\appdata\roaming\Notepad++)

    Right click and edit the file shortcuts.xml file.

    Copy the command that launches chrome, looks like this:

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

    Paste the same line directly underneath, and replace all instances of Chrome with Brave.

    So both lines should now look like this.

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

    Restart Notepad++

    Lastly, reopen Notepad++, go to Run > Modify Shortcut/Delete Command… > Left click on the Launch in Brave option you have just created > Modify > Change the key used to launch the browser so it does not conflict with the Chrome one we made earlier.

    Done!

    Apologies if there’s an easier way to do this, this is how I managed to work it out with the limited info I could find online.

    Thanks.

    A 3 Replies Last reply Jun 17, 2019, 2:32 PM Reply Quote 1
    • A
      andrecool-68 @Scott Wilks
      last edited by Jun 17, 2019, 2:32 PM

      @Scott-Wilks Write the full path to your browser … and that’s it!

      <Command name="Launch your browser" Ctrl="no" Alt="no" Shift="no" Key="0">&quot;Full_path_to_your_browser.exe&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command>
      
      1 Reply Last reply Reply Quote 1
      • A
        andrecool-68 @Scott Wilks
        last edited by Jun 17, 2019, 2:41 PM

        @Scott-Wilks
        Here is an example of launching a portable version of the Slimjet browser.

        <Command name="Launch in Slimjet" Ctrl="no" Alt="no" Shift="no" Key="0">&quot;C:\Users\Uzeer\Downloads\sjt7z_x64\Slimjet\slimjet.exe&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command>
        
        1 Reply Last reply Reply Quote 0
        • A
          andrecool-68 @Scott Wilks
          last edited by Jun 17, 2019, 2:54 PM

          @Scott-Wilks

          Imgur

          1 Reply Last reply Reply Quote 3
          • S
            Scott Wilks
            last edited by Jun 17, 2019, 3:42 PM

            That is much better, wish I had known that sooner! Thank you for the examples!

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