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.
    • TransWareAG-RBT
      TransWareAG-RB
      last edited by

      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

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • dailD
        dail
        last edited by dail

        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
        • Claudia FrankC
          Claudia Frank @TransWareAG-RB
          last edited by

          Hello Rudi,

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

          Cheers
          Claudia

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