

Highlight all the code, then choose "TextFX / TextFX Tools / Insert Line Numbers" However there is a built-in(?) plugin that can do this for you. Notepad++ Macros only playback keyboard actions. This way you can also start from whatever number you like and not have to have the leading zeros.

Tags : macros,notepad++,auto-increment,incrementĮdit -> Column Editor and use the bottom option on that dialogue (Number to Insert). I know i can do a macro in n++, but it wouldn't be incremental. so in line 1 i would want "1)" and then line 2 i would want "2)" in the beginning of each line i want to add a number. When I start Notepad++ again, that macro is available if I manual QP-Encode, then run the macro, it ends with it being all selected and QuotedPrintable has been decoded again.For example i have about 500 lines. I closed all Notepad++, edited shortcuts.xml, and added the macro to SelectAll, QuotedPrintableDecode, and SelectAll: I’m pretty sure the MIME Tools plugin would use static/fixed command IDs, so that should be consistent.

Plugins Admin allows you to install NppUISpy, which allows you to navigate through the menu system and look up the menu command ID for any entry. You can check the source code, and if it is fixed, you should be able to find the IDM_xxxx constant or similar, often in an. Some plugins use fixed values for their command ID for their menu others might use dynamic values. However, every menu does have a command ID, and if you know that ID, you can send it using the same syntax that gets used for the 41001/41003 File New/Close menu commands. What you are trying to do is just run a menu entry, but not a menu entry that the macro record function will admit to – there are many that it doesn’t record. While is correct, and there is a way to send messages directly to a plugin, the 41001 isn’t the wrong wParam. I would appreciate any help resolving this , Should have been Quoted-printable-Decode here! Here are the interpretations of the actions in the file: Here’s the macro as recorded, as it appears in the shortcuts.xml file: Plugins -> MIME Tools -> Quoted-printable-Decode Is there some other way besides recording the macro to cause the macro to invoke the plugin? Here’s what I’ve done:ĥ.

I’ve tried to create a macro that invokes a plugin action, but the resulting macro ignores the plugin action.
