Community
    • Login

    eseguire il lavoro

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    16 Posts 4 Posters 1.2k 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.
    • Umberto CapuanoU
      Umberto Capuano
      last edited by

      ovviamente blocco note è il programma non so perchè mi fa la traduzione automatica

      1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by

        Hi I’m a beginner with the world of programming I was wondering how can I configure a browser to do what I do on notepad thanks in advance
        obviously notepad is the program i don’t know why it does automatic translation

        Hello, @Umberto-Capuano.

        Unfortunately, even with forcing Chrome to translate your post from Italian to English (as I quoted above), I couldn’t tell exactly what you’re asking.

        However, you seem to be asking how to program or configure your web browser to behave in a different manner.

        This is a forum for the Notepad++ text editor. You can use a text editor to edit source code of whatever programming lanugage you are using, or to edit text-based configuration files for whatever browser you are using (though most browsers I know of don’t use text-based config files). However, this forum is not the right place for programming or browser questions.

        I will try to use google translate to take this back to Italian; no guarantees as to the quality of the results.

        -----

        Ciao, @ Umberto-Capuano.

        Sfortunatamente, anche con la forzatura di Chrome a tradurre i tuoi post dall’italiano all’inglese (come ho citato sopra), non ho potuto dire esattamente quello che stai chiedendo.

        Tuttavia, sembra che tu stia chiedendo come programmare o configurare il tuo browser Web in modo che si comporti in modo diverso.

        Questo è un forum per l’editor di testo Notepad ++. È possibile utilizzare un editor di testo per modificare il codice sorgente di qualsiasi linguaggio di programmazione in uso o per modificare i file di configurazione basati su testo per qualsiasi browser in uso (sebbene la maggior parte dei browser che conosco non utilizzi i file di configurazione basati su testo). Tuttavia, [questo forum non è il posto giusto per domande sulla programmazione o sul browser] (https://community.notepad-plus-plus.org/topic/15958/faq-desk-you-ve-asked-your-question-in-the-wrong-place).

        Proverò a utilizzare google translate per riportarlo in italiano; nessuna garanzia sulla qualità dei risultati.

        1 Reply Last reply Reply Quote 0
        • Umberto CapuanoU
          Umberto Capuano
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Umberto CapuanoU
            Umberto Capuano
            last edited by

            I try to do a translation, I circled on the image the problem that as I said before is that it does not make me see the page on any browsernotepad.png

            1 Reply Last reply Reply Quote 0
            • andrecool-68A
              andrecool-68
              last edited by

              If you want to translate the “Run” menu into your language, you need to go to the “Modify Shortcut/Delete Command”

              Imgur

              1 Reply Last reply Reply Quote 1
              • andrecool-68A
                andrecool-68
                last edited by

                There is an error in your code on the photo in the first line!
                It should be written like this: <!DOCTYPE html>

                1 Reply Last reply Reply Quote 0
                • andrecool-68A
                  andrecool-68
                  last edited by

                  To open your code in a browser, you need to save this html-file!

                  1 Reply Last reply Reply Quote 0
                  • PeterJonesP
                    PeterJones
                    last edited by

                    @Umberto-Capuano ,

                    That’s a very different question than chrome’s translate told me. Sorry that I misunderstood.

                    As @andrecool-68 said, you have to save the file; if it has been saved, but you’ve just made a minor change (the title bar is red/orange in your screenshot, so we know the file has been edited), when you Launch in Chrome (or equivalent), it won’t show the recent changes, but it will launch whatever was previously saved.

                    Unlike what @andrecool-68 said, having the bad <!Doctype.html> instead of the correct <!DOCTYPE html> will not affect whether it launches or is visible in the browser.

                    Newer versions of Notepad++ have **View > View Current File In … > ** (I think it would be your Visualizza menu) as the preferred method for launching in your browser.

                    A couple of questions for you:

                    • What version of Notepad++ are you using? You can look in the ? menu, click on Debug Info (or whatever the Italian for that is), and paste that – either as an image, or copy the text and paste it here
                      fd025923-7abf-417e-8669-786804fdc4cf-image.png
                    • When you say “it doesn’t make me see the page on any browser”, does that mean it opens a file in the browser, but it shows up empty? or it doesn’t even try to open the file.
                    • If your Notepad++ is not new enough to have the **View > View Current File In … ** version, you should show us the contents of your shortcuts.xml file: do File > Open, and type %AppData%\Notepad++\shortcuts.xml to open that file. Then grab the contents and paste them here.
                    1 Reply Last reply Reply Quote 2
                    • Umberto CapuanoU
                      Umberto Capuano
                      last edited by

                      the browser sometimes doesn’t even try to open the file and sometimes opens it but it does show me commands without showing the program, the shortcurt is:<NotepadPlus>
                      <InternalCommands />
                      <Macros>
                      <Macro name=“Trim Trailing Space and Save” Ctrl=“no” Alt=“yes” Shift=“yes” Key=“83”>
                      <Action type=“2” message=“0” wParam=“42024” lParam=“0” sParam=“” />
                      <Action type=“2” message=“0” wParam=“41006” lParam=“0” sParam=“” />
                      </Macro>
                      </Macros>
                      <UserDefinedCommands>
                      <Command name=“Get PHP help” Ctrl=“no” Alt=“yes” Shift=“no” Key=“112”>http://www.php.net/$(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 in another instance” Ctrl=“yes” Alt=“yes” Shift=“yes” Key=“117”>$(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst</Command>
                      <Command name=“Lunch in IE” Ctrl=“yes” Alt=“yes” Shift=“yes” Key=“49”>Lunch in IE</Command>
                      <Command name=“Lunch in Chrome” Ctrl=“yes” Alt=“yes” Shift=“yes” Key=“65”>“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe”</Command>
                      </UserDefinedCommands>
                      <PluginCommands />
                      <ScintillaKeys />
                      </NotepadPlus>
                      informazioni di debug.png

                      PeterJonesP 1 Reply Last reply Reply Quote 0
                      • PeterJonesP
                        PeterJones @Umberto Capuano
                        last edited by

                        @Umberto-Capuano said in eseguire il lavoro:

                        <Command name=“Lunch in IE” Ctrl=“yes” Alt=“yes” Shift=“yes” Key=“49”>Lunch in IE</Command>
                        <Command name=“Lunch in Chrome” Ctrl=“yes” Alt=“yes” Shift=“yes” Key=“65”>“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe”</Command>

                        So, two comments:

                        1. “Lunch in IE” (which is what is contained in that <command>...</command> is not a valid Windows command, so it won’t run. And the chrome will only work if that’s the path to your chrome.exe.
                        2. In v7.8.1, you should have the View menu entries. However, they were improved in v7.8.2; you might want to upgrade to the newest v7.8.4, and use the entries in that View > View current file in… submenu.
                        1 Reply Last reply Reply Quote 1
                        • Umberto CapuanoU
                          Umberto Capuano
                          last edited by

                          the path to chrome is that but unfortunately does not run me the file , I downloaded the latest version and it exits this now as I can fix it thanksImmagine.png

                          1 Reply Last reply Reply Quote 0
                          • andrecool-68A
                            andrecool-68
                            last edited by

                            On new versions, a new option for opening files in the browser is added:

                            Imgur

                            1 Reply Last reply Reply Quote 1
                            • Umberto CapuanoU
                              Umberto Capuano
                              last edited by

                              thank you so much

                              1 Reply Last reply Reply Quote 0
                              • Alan KilbornA
                                Alan Kilborn
                                last edited by Alan Kilborn

                                Note that these commands are not enabled in @andrecool-68 's screenshot because his active file is new 1 , which is an “unsaved” file. The commands can’t run on an unsaved file because, outside of Notepad++ (e.g. in a browser-running command line), the name “new 1” has no meaning. If the active file had been a real, named and saved file, the commands would have appeared enabled.

                                1 Reply Last reply Reply Quote 2
                                • Umberto CapuanoU
                                  Umberto Capuano
                                  last edited by

                                  Now I have another problem no matter how much you save the file in html on the browser where I run it exit the scripts without letting me see the content (sorry for English)

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