• Login
Community
  • Login

List of available macro messages / types

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 3 Posters 9.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    TransWareAG-RB
    last edited by Jan 12, 2016, 3:33 PM

    Hello,

    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?

    E.g.:
    <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 :)
    Rudi BRUNNMEIER

    C 1 Reply Last reply Jan 12, 2016, 4:23 PM Reply Quote 0
    • D
      dail
      last edited by dail Jan 12, 2016, 4:02 PM Jan 12, 2016, 4:01 PM

      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_COPY command. 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 type field does. You may have to try recording some macros and then see how Notepad++ saves them.

      1 Reply Last reply Reply Quote 1
      • C
        Claudia Frank @TransWareAG-RB
        last edited by Jan 12, 2016, 4:23 PM

        Hello Rudi,

        in addition, the npp wiki has some information about this.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors