Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Disable "are you sure you want to replace all occurences in" message

    General Discussion
    find in files macro safety
    2
    6
    2817
    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.
    • Guide Rencontre
      Guide Rencontre last edited by

      Hi there,
      I work with a lot of .xml files and need to change data on them.
      For that, I’m using find in files Notepad function, but each time I need to check “are you sure you want to replace all occurences in …” which is very annoying when you have 100 files to do…
      Is it possible to disable this safety message ?
      Maybe saving my data change in a macro, and changing some parameters ?
      Best Regards,
      GR

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Guide Rencontre last edited by Claudia Frank

        @Guide-Rencontre

        Is it possible to disable this safety message ?

        Afaik, no.

        which is very annoying when you have 100 files to do…

        But you only have to acknowledge it once for all files, haven’t you?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Guide Rencontre
          Guide Rencontre last edited by

          Ouch ! That’s a bad news…

          I have something like 20 modifications to do for each files…
          So even if I save it in a macro, I have 20 times…

          Stranges facts :

          • if I save in a macro one action of find in files, the message doesn’t show up
          • if I save find in files using regex, it works only for the current file open and not for other…
          Claudia Frank 2 Replies Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Guide Rencontre last edited by

            @Guide-Rencontre

            wait, so you are saying you record a macro and you were able to record the click to confirm?
            I tried that some time ago (maybe some long time ago) and it wasn’t working.

            I will give it a try.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 1
            • Claudia Frank
              Claudia Frank @Guide Rencontre last edited by Claudia Frank

              @Guide-Rencontre

              Strange - I don’t have that behavior using npp 7.3.2.
              I’m still getting the dialog to confirm the replace action, regardless
              if using normal or regex searches and when using regex searches all files get replaced.

              Can you provide your debug-info (under ? menu) together with a sample
              text and sample find/replace?

              Cheers
              Claudia

              Guide Rencontre 1 Reply Last reply Reply Quote 0
              • Guide Rencontre
                Guide Rencontre @Claudia Frank last edited by

                @Claudia-Frank You’re right, my mistake…
                If anyone has a solution to disable this safety message…
                Cheers ;)

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright © 2014 NodeBB Forums | Contributors