Community
    • Login

    renumbering/incremental

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    45 Posts 7 Posters 6.8k 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.
    • Alan KilbornA
      Alan Kilborn @Scott Raskin
      last edited by Alan Kilborn

      @Scott-Raskin said in renumbering/incremental:

      copy/paste made it look weird for some reason in the post

      If you want it to appear verbatim in a posting, you have to format it correctly.

      Add lines with 3 backticks at the start and bottom of your “block”:

      ```
      one
      two
      three
      ```

      Do that and it will appear like this:

      one
      two
      three
      

      Alternatively, select the text to format and press the “code” button in the “toolbar” to get the same effect:

      3b9761d1-033d-44e5-a085-6496b5910c8b-image.png

      More info on FORMATTING posts is in the FAQ entry concerning it.

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

        @Scott-Raskin-0

        Concerning:

        Maybe youre right and 2 ops is the best

        I think so…especially due to your newness to the scripting world. As you’ve found, it is very easy to screw up something to the point where a previously-running script now won’t run. (This is often even easy for scripting veterans to do.)

        1 Reply Last reply Reply Quote 1
        • Alan KilbornA
          Alan Kilborn @Scott Raskin
          last edited by

          @Scott-Raskin

          Are you making a “macro” out of your second op, the standard Replace in Files operation?

          If so, then it really becomes less painful as a separate operation; you don’t have to fill in all the fields in the UI each time, you just pick the “macro” from the Macro menu to run it.

          So your workflow becomes:

          • run the script
          • run the macro

          Downside of a macro: For a Replace in Files macro, the folder is “hardcoded”.

          Scott Raskin 0S 1 Reply Last reply Reply Quote 1
          • Scott Raskin 0S
            Scott Raskin 0 @Alan Kilborn
            last edited by

            @Alan-Kilborn so sorry, we were closed for a bit and Im just getting back. I will try those both this week, thank you so much for all of your help!

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

              If you’ve used a script in this thread, you might want to double check your copy of it for a bug I’ve discovered.
              Look to previous postings in this topic thread where the script has been changed – find the text moderator edit (2024-Jan-14).
              There’s a link there that describes the bug in more detail, and shows what needs to be changed in an old copy (or you can simply grab a copy of the current version).

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