Recording Macro including URL Encode (RFC1738)
-
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.- Select the text from https:// to </table>
- Ctrl+C: Copy the text to the clipboard
- Move the cursor down after “URL encode start”
- Ctrl+V: Paste the text from the clipboard
- Select the pasted text
- Ctrl+H: Use search and replace all occurrences in selection, extended, replace \r\n / CR LF by nothing/delete
- Ctrl+H: Use search and replace all occurrences in selection, extended, replace \t / TAB by nothing/delete
- Alt+i Plugins → MIME Tools → URL Encode (RFC1738) → This has not been executed
- Ctrl+S
Thank you in advance.
Notepad++ v8.9.6.4 (64-bit)
Windows 11 -
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).
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