I would like to write a macro for Notepad++ which should replace char1, char2, char3 with char4, char5, char6, respectively. Thanks
相关问题
- I want to trace logs using a Macro multi parameter
- Solaris and Preprocessor Macros
- Fixing Markdown styling in Notepad++
- integer to word conversion in java using map conti
- What does “macro annotations embedding in comments
相关文章
- Macro expansion in elixir: how to define 2 macros
- How to import macros in Rust?
- Using C Preprocessing to get integer value of a st
- Using UNREFERENCED_PARAMETER macro
- What is “3D syntax”?
- How do I write a macro-defining macro in common li
- Disabling drag-and-drop of text in Notepad++
- How can I do a non greedy regex query in notepad++
I found 'Python Script' plugin for Notepad++ more useful since with the plugin, I could write simple macros in the form of python and It has also got very good documentation and sample macros written in python as well. If you are quite comfortable with python, then I think 'Python Script' will provide justice. For more information, refer : http://npppythonscript.sourceforge.net/
I just did this in v5.9.1. Just go to the Macro Menu, click "Start Recording", perform your 3 replace all commands, then stop recording. You can then select "Save Current Recorded Macro", and play it back as often as you like, and it will perform the replaces as you expect.