


I guess action type 0 is for Scintilla commands with numerical params, type 1 is for commands with string parameter, 2 is for Notepad++ commands. insert string is nothing is selected), 2327 is Tab command, and Resource Hacker (just have it handy.) shows that 42024 is "Trim Trailing Space" menu item and 41006 is "Save". Looking at Scintilla.iface file, we can see that 2170 is the code of ReplaceSel (ie. I don't think it will record actions in dialogs (like search/replace). I haven't looked at the source, but from the look, I would say we have messages sent to Scintilla (the editing component, perhaps type 0 and 1), and to Notepad++ itself (probably activating menu items). Macros in Notepad++ are just a bunch of encoded operations: you start recording, operate on the buffer, perhaps activating menus, stop recording then play the macro.Īfter investigation, I found out they are saved in the file shortcuts.xml in the Macros section.
