eseguire il lavoro
-
Salve sono alle prime armi con il mondo della programmazione mi chiedevo come posso configurare un browser per eseguire ciò che faccio su notepad grazie in anticipo
-
ovviamente blocco note è il programma non so perchè mi fa la traduzione automatica
-
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 translationHello, @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.
-
This post is deleted! -
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 browser
-
If you want to translate the “Run” menu into your language, you need to go to the “Modify Shortcut/Delete Command”
-
There is an error in your code on the photo in the first line!
It should be written like this:<!DOCTYPE html>
-
To open your code in a browser, you need to save this html-file!
-
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
- 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.
- 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
-
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>
-
@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:
- “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. - 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.
- “Lunch in IE” (which is what is contained in that
-
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 thanks
-
On new versions, a new option for opening files in the browser is added:
-
thank you so much
-
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.
-
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)