List of available macro messages / types
I’m creating a macro for a XML and want to customize the macro script, but I don’t know which messages and types exists and what they do.
Can someone post a list about all/some messages with types that describes what they do?
<Action type=“0” message=“2178” wParam=“0” lParam=“0” sParam=“” />
Which types are available on message 2178 and what do they do?
Thanks in advance :)
Those message ids are defined by Scintilla (which is what Notepad++ uses to manipulate the text). The message ids are defined in this header file. So from your example 2178 is the
SCI_COPYcommand. You can then reference the Scintilla documentation to see what those commands do and if they take any parameters. Keep in mind not every command is able to be used within a macro.
And I’m not really sure what the
typefield does. You may have to try recording some macros and then see how Notepad++ saves them.
in addition, the npp wiki has some information about this.