Community
    • Login

    Macro problem (replace text)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 4 Posters 384 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.
    • Юрий МарковЮ
      Юрий Марков
      last edited by

      Recently updated to the latest version. I have a macro that replaces the text T_ with “empty”. Now, every time I use it, the prompt “are you sure you want to replace?” and this window does not even use the dark theme for which I was updating. How can I remove this request? I want him to immediately replace the text as it was before.
      alt text

      Neil SchipperN PeterJonesP 2 Replies Last reply Reply Quote 0
      • Neil SchipperN
        Neil Schipper @Юрий Марков
        last edited by

        @Юрий-Марков Have you tried recreating the macro? This would at least discriminate between ‘undesired interpretation of old macro’ vs. ‘inability for text replace macro to run without confirmation’, which is a different type of anomaly.

        1 Reply Last reply Reply Quote 2
        • PeterJonesP
          PeterJones @Юрий Марков
          last edited by

          @Юрий-Марков ,

          You might want to check the settings in Settings > Preferences > Searching, especially the state of “Confirm Replace All in All Opened Documents” (as documented in the online user manual).

          If I switch to Русский :

          e0823b64-8f7b-44e3-b3df-b08d3d3fd23c-image.png

          With that option on, and try to do a replace-all-in-all-opened-documents – I don’t read Русский, but it looks like I get the same message you do:

          fd4dfa4d-e648-4d91-a487-4afd519d5911-image.png

          whereas if I turn off that option, it doesn’t ask, and just does the replacement.

          a941ab44-9314-4133-9f3f-b921220ea5c2-image.png

          So turn off that option, and your macro will go back to working.

          Юрий МарковЮ 1 Reply Last reply Reply Quote 3
          • Юрий МарковЮ
            Юрий Марков @PeterJones
            last edited by

            @PeterJones Thank you very much, apparently some new setting has appeared, and this request does not appear if you use the replacement window, not a macro.

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA
              Alan Kilborn @Юрий Марков
              last edited by

              @Юрий-Марков said in Macro problem (replace text):

              apparently some new setting has appeared

              Software is continually being enhanced

              and this request does not appear if you use the replacement window, not a macro.

              Incorrect, it appears either way, any time you use Replace All in All Opened Documents (unless you change the Preference setting that was shown for it)

              Юрий МарковЮ 1 Reply Last reply Reply Quote 1
              • Юрий МарковЮ
                Юрий Марков @Alan Kilborn
                last edited by

                @Alan-Kilborn said in Macro problem (replace text):

                @Юрий-Марков said in Macro problem (replace text):

                apparently some new setting has appeared

                Software is continually being enhanced

                and this request does not appear if you use the replacement window, not a macro.

                Incorrect, it appears either way, any time you use Replace All in All Opened Documents (unless you change the Preference setting that was shown for it)

                It’s just that I haven’t updated Notepad ++ for a very long time))) Purely by chance I saw that a dark theme appeared, I have been dreaming about it for 3 years, everything has a dark theme for a long time, even in Total Commander it appeared.

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