• Login
Community
  • Login

To use Firefox on the current edited html file

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
14 Posts 3 Posters 542 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.
  • C
    Cyrille Piatecki
    last edited by Apr 9, 2021, 7:59 AM

    In my former version of Notepad++, I have no problems to lounch my html file in firefox. Since the last version (7.9.5) in shrotcuts.xml it has been disabled. Even if I put away the commentaries, it doesn’t work. What could I do ?

    E 1 Reply Last reply Apr 9, 2021, 8:06 AM Reply Quote 0
    • E
      Ekopalypse @Cyrille Piatecki
      last edited by Apr 9, 2021, 8:06 AM

      @Cyrille-Piatecki

      so you used the view->view current file in menu item?

      C 1 Reply Last reply Apr 9, 2021, 8:25 AM Reply Quote 1
      • C
        Cyrille Piatecki @Ekopalypse
        last edited by Apr 9, 2021, 8:25 AM

        @Ekopalypse I have noticed that (sorry I use Notepad++ in french) Affichage -> Affiche le ficher dans -> Firefox, I can have what I want but the file must be first saved and ther is no shortcuts

        1 Reply Last reply Reply Quote 0
        • E
          Ekopalypse
          last edited by Ekopalypse Apr 9, 2021, 8:30 AM Apr 9, 2021, 8:30 AM

          @Cyrille-Piatecki

          You can assign shortcuts via the Shortcut Mapper

          05fc1356-1046-4c66-bdba-b96dbc76d470-image.png

          C 2 Replies Last reply Apr 9, 2021, 8:32 AM Reply Quote 1
          • C
            Cyrille Piatecki @Ekopalypse
            last edited by Apr 9, 2021, 8:32 AM

            @Ekopalypse Ok but I do not know what to write in Name and Catégorie

            E 1 Reply Last reply Apr 9, 2021, 8:35 AM Reply Quote 0
            • E
              Ekopalypse @Cyrille Piatecki
              last edited by Ekopalypse Apr 9, 2021, 8:36 AM Apr 9, 2021, 8:35 AM

              @Cyrille-Piatecki

              you don’t, type Fire in the Filtre box, double click
              on the filtered item and assign the shortcut you want to use.

              5a5d52f6-d385-4686-8b1c-c65c70fa0a33-image.png

              1 Reply Last reply Reply Quote 0
              • C
                Cyrille Piatecki @Ekopalypse
                last edited by Apr 9, 2021, 8:35 AM

                @Ekopalypse SOrry for my former reply. I have seen in the panel Exécution . I have tried to typeset Firefox in Nom but it open Firefox alone not on the current file.

                C E 2 Replies Last reply Apr 9, 2021, 8:43 AM Reply Quote 0
                • C
                  Cyrille Piatecki @Cyrille Piatecki
                  last edited by Apr 9, 2021, 8:43 AM

                  @Cyrille-Piatecki Thanks it works

                  1 Reply Last reply Reply Quote 1
                  • E
                    Ekopalypse @Cyrille Piatecki
                    last edited by Apr 9, 2021, 8:43 AM

                    @Cyrille-Piatecki

                    If you want to execute something via the Run (Exécution) menu, use the variable $(FULL_CURRENT_PATH) to pass it as an argument. It will be replaced by the actual file name.

                    Like firefox $(FULL_CURRENT_PATH)

                    C 1 Reply Last reply Apr 9, 2021, 9:20 AM Reply Quote 2
                    • C
                      Cyrille Piatecki @Ekopalypse
                      last edited by Apr 9, 2021, 9:20 AM

                      @Ekopalypse Ok for your last suggestion and to have it permanently ?

                      E 1 Reply Last reply Apr 9, 2021, 9:27 AM Reply Quote 0
                      • E
                        Ekopalypse @Cyrille Piatecki
                        last edited by Apr 9, 2021, 9:27 AM

                        @Cyrille-Piatecki

                        by saving it

                        0e635716-e529-443d-9060-84d6630e03d5-image.png

                        C 1 Reply Last reply Apr 9, 2021, 11:37 AM Reply Quote 2
                        • C
                          Cyrille Piatecki @Ekopalypse
                          last edited by Apr 9, 2021, 11:37 AM

                          @Ekopalypse I have done what you suggest firefox $(FULL_CURRENT_PATH) as a Programme à exécuter. But it says that it cannot find the file.

                          1 Reply Last reply Reply Quote 0
                          • E
                            Ekopalypse
                            last edited by Apr 9, 2021, 12:05 PM

                            @Cyrille-Piatecki

                            This sounds like you have not installed firefox.
                            Are you using a portable version?
                            If so, you need to use the whole path something like
                            D:\whatever_path\firefox.exe $(FULL_CURRENT_PATH)

                            And you can only use it on saved files, of course.
                            New 1 etc… do not work.

                            P 1 Reply Last reply Apr 9, 2021, 12:57 PM Reply Quote 1
                            • P
                              PeterJones @Ekopalypse
                              last edited by Apr 9, 2021, 12:57 PM

                              @Ekopalypse said in To use Firefox on the current edited html file:

                              D:\whatever_path\firefox.exe $(FULL_CURRENT_PATH)

                              Word of warning: if either D:\whatever path\firefox.exe or the value of $(FULL_CURRENT_PATH) have spaces in them, that will probably not work. As with all Windows paths that have (or might have) spaces, use quotes around them. So "D:\whatever path\firefox.exe" "$(FULL_CURRENT_PATH)" .

                              Any time you are referring to a path inside Notepad++ config files, Run dialog, etc, I highly recommend putting quotes around the paths.

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