Community
    • Login

    Add Micrisoft Edge to launch new *.html productions

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 3.3k Views 1 Watching
    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.
    • Leo de VettenL Offline
      Leo de Vetten
      last edited by

      To check my work i.e. index.html I choose “launch in Chrome”. When I choose “launch in Explorer” everything goes wrong. Explorer is insufficient and outdated. Please can you change this item in : “launch in Edge” Or just add it please. Thank you.

      Alan KilbornA Meta ChuhM 2 Replies Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Leo de Vetten
        last edited by

        @Leo-de-Vetten

        You can change it yourself by editing shortcuts.xml appropriately (use the existing entries as examples to create a new one).

        1 Reply Last reply Reply Quote 2
        • Meta ChuhM Offline
          Meta Chuh moderator @Leo de Vetten
          last edited by Meta Chuh

          welcome to the notepad++ community, @Leo-de-Vetten

          you will need a little guide, because microsoft edge is a bit tricky.
          it can not be launched directly by running microsoftedge.exe "path_to\yourfile.html" as it is done using internet explorer, firefox and chrome.
          instead we will have to make shell api calls.
          but that’s not difficult, once you’ve read this guide.


          step by step guide - how to add “launch in edge” to notepad++:

          • open the folder %AppData%\Notepad++\ in explorer

          • find the file shortcuts.xml and open it in notepad++ for editing.

          • copy the following line and paste (insert) it anywhere inside the <UserDefinedCommands>section

          <Command name="Launch in Edge" Ctrl="yes" Alt="yes" Shift="yes" Key="69"> shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge $(FULL_CURRENT_PATH)</Command>
          
          • now your shortcuts.xml should look like the screenshot below (plus your ie and other user defined commands):

          Imgur

          • save shortcuts.xml and restart notepad++
            (exit and reopen notepad++ to activate your shortcut changes to the run menu)

          • if you now run “launch in edge” on any file, edge will open and display it, as seen at the screenshot below:

          Imgur

          note: you can also use the keyboard shortcut ctrl+alt+shift+eto launch edge with your file

          good luck and happy html coding 😉👍

          1 Reply Last reply Reply Quote 5

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors