Community
    • Login

    Recording Macro including URL Encode (RFC1738)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 38 Views 2 Watching
    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.
    • blueicehallerB Offline
      blueicehaller
      last edited by blueicehaller

      Hi,
      I’m trying to create a Macro which does the following, when the cursor is placed before https://.
      Unfortunately URL Encode (RFC1738) has not been executed.

      1. Select the text from https:// to </table>
      2. Ctrl+C: Copy the text to the clipboard
      3. Move the cursor down after “URL encode start”
      4. Ctrl+V: Paste the text from the clipboard
      5. Select the pasted text
      6. Ctrl+H: Use search and replace all occurrences in selection, extended, replace \r\n / CR LF by nothing/delete
      7. Ctrl+H: Use search and replace all occurrences in selection, extended, replace \t / TAB by nothing/delete
      8. Alt+i Plugins → MIME Tools → URL Encode (RFC1738) → This has not been executed
      9. Ctrl+S

      Thank you in advance.

      Notepad++ v8.9.6.4 (64-bit)
      Windows 11

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @blueicehaller
        last edited by

        @blueicehaller ,

        Plugin commands, like Plugins > MIME Tools > URL Encode cannot be recorded in a macro.

        However, we have a sub-FAQ: “Using Plugin, Run-menu and Macro Commands in Macros” which explains how you can manually edit a recorded macro to include such a command (noting that caveat that if you add or remove plugins, you might have to update your macro to refer to the new menuCmdID for the plugin command).

        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors