

In this example, we may also want to remove the trailing comma. After running your macro, verify the results. You can use either the button on the toolbar or through the menu Macro → Run a Macro Multiple Times:Ĭhoose number of times to run or run until end of file:Ĩ. Click Run a Macro Multiple Times to run your macro on multiple lines or until the end of the file. You can use either the button on the toolbar or through the menu Macro → Playback:ħ. You can use either the button on the toolbar or through the menu Macro → Stop Recording:Ħ. Once you have made your edits, ensure that the caret is placed at the beginning of the next line or block of text:ĥ.


It would not take a lot of time to rewrite this particular list manually, but it takes a fraction of the time using macros. To do this, we will record the steps we make on one line, and then run the steps on all the remaining lines. In this example, we want to transform an ordered list of names into a comma-separated list with each name inside single quotes. Just record your steps once, then run them as many times as you need!
/cdn0.vox-cdn.com/uploads/chorus_asset/file/4076674/iOS_9_Search_Settings.0.jpg)
Do you ever find yourself doing the same things over and over and over again when working on your text files? You can save a lot of time by recording and running Notepad++ macros to automate these repetitive steps.
