how can I add Launch in Edge to the Run/Launch Menu?



  • I am using Windows 10 - I only see Launch commands for Firefox. IE, Safari and Chrome on the Run menu. Can someone please advise how to add Edge (Win 10 browser) to this list?



  • Hello @Graham-Coleman,

    what you are looking for is the shortcuts.xml file.
    UserDefinedCommands is the section of the preconfigured browsers.
    Duplicate a line and change it to your need. Let’s take iexplore as an example

    <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command>
    

    Command name=“Here you would name it what ever you like”

    These four attributes are only needed if you want to assign a shortcut
    yes means you need to press this key together with the other defined keys.
    Ctrl=“yes”
    Alt=“yes”
    Shift=“yes”
    Key=“73”
    I would suggest you leave it undefined which would be
    Ctrl=“no”
    Alt=“no”
    Shift=“no”
    Key=“0”
    and use the shortcut mapper to do it properly.

    This one is the important one.

    iexplore "$(FULL_CURRENT_PATH)"

    You need to find out what the process name of Edge is
    and and replace iexplore with it. Keep the rest
    Restart npp - done

    Cheers
    Claudia



  • I been trying to do this as well. It took me a bit because edge doesn’t run from its exe file, but here’s how I did mine.–Launch to Edge Instructions–