Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • Louis WindsorL

      Facilities to create PostScript hotkeys

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      13
      0 Votes
      13 Posts
      578 Views
      PeterJonesP
      Sorry! It is NOT that I refuse to help you. It is mostly I don’t know how… I asked for screenshots (a normal function of Windows, which I assumed you would know how to grab). I asked for the Debug Info (I told you what menu to go into to get it). You provided neither. Also, I thought telling you that NOTHING showed in " -> Configuration" was self evident and DIDN’T need a screen snapshot? The screenshot would have confirmed: 1) that there really was “nothing” there (maybe you and I have a different definition of “nothing”), 2) whether you had really selected “user scripts” or had selected “machine scripts”, and 3) that you were willing to follow instructions to try to get help. I’m happy to announce I’ve fixed it!!! Don’t ask me how but my WHOLE NP++ setup was weird!!! It seemed half in Program Files and half in AppData. That’s not weird. That’s how Notepad++ and PythonScript are intentionally set up. The FAQ footnote that I’ve begged you to read explains why there are the two different script locations. In fiddling around I copied the PythonScript directory from Program Files into AppData and TaDa! Everything fell into place… EVERYTHING WORKED like clockwork! You thus copied way too much. You could have copied just the scripts. Or you could have just clicked the “machine scripts” button in the dialog, like I told you to, and not had to copy any files. THANK YOU for your responses and help. Glad you’ve got it working.
    • donhoD

      Notepad++ v8.9.5 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      4
      4 Votes
      4 Posts
      731 Views
      donhoD
      @MarkusBodensee Thank you for your heads up. The fix will come with v8.9.5 release tomorrow.
    • Matt LongM

      New to Notepad++ and trying to convert 12 hour time to 24

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      273 Views
      guy038G
      Hi, @matt-long, @coises and All, Of course, the @coises’s plugin would be the best solution, being both flexible and powerful However, @matt-long, if you don’t want to install any new plugin, here is a solution with native N++ only ! Of course, I’ll use the part of file which ONLY needs changes. But, in your personal file, the trailing part of each line will stay unchanged ! So, let’s suppose an INPUT text, like below, pasted in a new tab : 09-Jan-26 00:00:00 AM, 13-Sep-21 02:00:59 AM, 13-Jul-24 04:57:29 AM, 19-Apr-20 07:42:50 AM, 01-Mar-26 09:12:43 AM, 29-Feb-24 11:08:51 AM, 25-Jul-23 11:59:59 AM, 09-Jan-19 12:00:00 AM, 01-May-26 00:00:00 PM, 08-Oct-25 02:54:31 PM, 17-Feb-22 03:29:35 PM, 23-Sep-18 06:37:06 PM, 03-Nov-20 08:55:44 PM, 31-Aug-26 10:38:00 PM, 31-Dec-20 11:59:59 PM, 01-May-26 12:00:00 PM, Open the Replace dialog Uncheck all box options FIND (?-si)^(0(\d)|\d\d)-(.+?)-(\d\d) (\d\d):(\d\d):\d\d (AM|PM)(?=,) REPLACE (?2\2:\1)/\3/(?{4}20\4) \5\7:\6 Check the Wrap around option Select the Regular expression search mode Click on the Replace All button => You should obtain the temporary OUTPUT text below : 9/Jan/2026 00AM:00, 13/Sep/2021 02AM:00, 13/Jul/2024 04AM:57, 19/Apr/2020 07AM:42, 1/Mar/2026 09AM:12, 29/Feb/2024 11AM:08, 25/Jul/2023 11AM:59, 9/Jan/2019 12AM:00, 1/May/2026 00PM:00, 8/Oct/2025 02PM:54, 17/Feb/2022 03PM:29, 23/Sep/2018 06PM:37, 3/Nov/2020 08PM:55, 31/Aug/2026 10PM:38, 31/Dec/2020 11PM:59, 1/May/2026 12PM:00, Now, APPEND at the very end of your file, all the lines below : #Jan 1 #Feb 2 #Mar 3 #Apr 4 #May 5 #Jun 6 #Jul 7 #Aug 8 #Sep 9 #Sept 9 #Oct 10 #Nov 11 #Dec 12 #00AM 00 #01AM 01 #02AM 02 #03AM 03 #04AM 04 #05AM 05 #06AM 06 #07AM 07 #08AM 08 #09AM 09 #10AM 10 #11AM 11 #12AM 12 #00PM 12 #01PM 13 #02PM 14 #03PM 15 #04PM 16 #05PM 17 #06PM 18 #07PM 19 #08PM 20 #09PM 21 #10PM 22 #11PM 23 #12PM 00 Thus, your INPUT text is now as below : 9/Jan/2026 00AM:00, 13/Sep/2021 02AM:00, 13/Jul/2024 04AM:57, 19/Apr/2020 07AM:42, 1/Mar/2026 09AM:12, 29/Feb/2024 11AM:08, 25/Jul/2023 11AM:59, 9/Jan/2019 12AM:00, 1/May/2026 00PM:00, 8/Oct/2025 02PM:54, 17/Feb/2022 03PM:29, 23/Sep/2018 06PM:37, 3/Nov/2020 08PM:55, 31/Aug/2026 10PM:38, 31/Dec/2020 11PM:59, 1/May/2026 12PM:00, #Jan 1 #Feb 2 #Mar 3 #Apr 4 #May 5 #Jun 6 #Jul 7 #Aug 8 #Sep 9 #Sept 9 #Oct 10 #Nov 11 #Dec 12 #00AM 00 #01AM 01 #02AM 02 #03AM 03 #04AM 04 #05AM 05 #06AM 06 #07AM 07 #08AM 08 #09AM 09 #10AM 10 #11AM 11 #12AM 12 #00PM 12 #01PM 13 #02PM 14 #03PM 15 #04PM 16 #05PM 17 #06PM 18 #07PM 19 #08PM 20 #09PM 21 #10PM 22 #11PM 23 #12PM 00 Open again the Replace dialog Uncheck all box options FIND (?-si)(?|(\u\l\l|Sept)|(\d\d(?:AM|PM)))(?=(?s).+^#\1 (\d+))|(?s)^#.+ REPLACE \2 Check the Wrap around option Select the Regular expression search mode Click on the Replace All button => You should get your expected OUTPUT text : 9/1/2026 00:00, 13/9/2021 02:00, 13/7/2024 04:57, 19/4/2020 07:42, 1/3/2026 09:12, 29/2/2024 11:08, 25/7/2023 11:59, 9/1/2019 12:00, 1/5/2026 12:00, 8/10/2025 14:54, 17/2/2022 15:29, 23/9/2018 18:37, 3/11/2020 20:55, 31/8/2026 22:38, 31/12/2020 23:59, 1/5/2026 00:00, Voila ! Best Regards, guy038
    • guy038G

      Is a filename legal?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      1 Votes
      1 Posts
      68 Views
      No one has replied
    • arnaud deretteA

      nppgzipfileviewer - improvements request

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      0 Votes
      1 Posts
      94 Views
      No one has replied
    • RWieber79R

      NotePad++ crashes using compare plus immediately after clicking compare

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      0 Votes
      1 Posts
      130 Views
      No one has replied
    • S

      autoupdater and XMLDSig

      Watching Ignoring Scheduled Pinned Locked Moved Security
      7
      0 Votes
      7 Posts
      662 Views
      S
      I have checked out the https://github.com/donho/xmlSigner project and it is what I needed. I have used that project to correctly pass the XML signing test. I have opened some issues with that project. Here is a quick summary of how the update process works. The wingup code first queries a website to determine if an update is required and the returned XML provides information to be used later. None of the information in the XML is used if it doesn’t pass the XML security check. After passing the security check the code looks for the update status and download location, assuming an update is required. After prompting the user to download the update and finishing the download, it checks the code signing of the installer. Assuming that the code signing is valid and the correct certificate, it starts the install. I will try to document all the customizations to the code from Notepad++, wingup and xmlSigner to make it work in my project so that future users have a place to start, but that will be after I am sure its all working correctly with the new security updates. Thank you @xomx for pointing me in the right direction.
    • donhoD

      Notepad++ v8.9.5 Release Candidate will be available in 1-2 days

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      3 Votes
      1 Posts
      225 Views
      No one has replied
    • ModelsRUsM

      missing config.xml file?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      293 Views
      ModelsRUsM
      Thank you Peter. Makes perfect sense. Much appreciated!
    • dz15mlruD

      BUG: N++ does not keep in UTF8 unsaved open files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion bug cyrillic utf8 encoding
      9
      0 Votes
      9 Posts
      806 Views
      AZJIO AZJIOA
      @dz15mlru Disable automatic encoding recognition. For Windows-1251 encoded Russian, auto-recognition will always open as Macintosh. If you start editing files, you will have two encodings, or rather garbage from two encodings, which will be difficult to fix manually, since you will have to re-read all the texts (this is a module for spoiling files). When you disable automatic encoding assignment, you will only have ANSI, UTF-8, UTF-16. WindowsXP-7-8-10-11 it will always open the ANSI file correctly, in 1251 encoding, as this is the default encoding. The remaining UTF-8 and others will also open automatically correctly. You will get rid of the problem forever. The automatic text encoding recognition module is needed if you open files in Arabic in ANSI, but in reality you will never do this, since a Russian-speaking person has only Russian-language files on their computer. People who want to make the file available to all people on earth save the file in UTF-8 encoding and it will always open correctly for you. You don’t need automatic file recognition, as it’s only for local files that you’ll never get from someone else’s computer abroad. Отключи автоматической распознавание кодировки. Для русского языка в кодировке Windows-1251 автораспознавание всегда будет открываться как Macintosh. Если начать редактировать файлы, то у вас будет две кодировки, точнее мусор из двух кодировок, который будет трудно исправить вручную, так как вам придётся перечитать все тексты (это модуль для порчи файлов). Когда вы отключите автораспозначание кодировки, то у вас будет только ANSI, UTF-8, UTF-16. WindowsXP-7-8-10-11 всегда откроет файл ANSI правильно, в кодировке 1251, так как это кодировка по умолчанию. Остальные UTF-8 и прочие откроются также автоматически правильно. Вы навсегда избавитесь от проблемы. Модуль автоматического распознавания кодировки текста нужен если вы открываете файлы на арабском языке в ANSI, но в реальности вы никогда этого не сделаете, так как у русскоязычного человека на компьютере есть только русскоязычные файлы. Люди, которые хотят сделать файл доступным для всех людей на земле сохраняют файл в кодировке UTF-8 и он всегда откроется правильно у вас. Вам не нужно автоматическое распознавание файлов, так как оно только для локальных файлов, которые у вас никогда не появятся с чужого заграничного компьютера.