Community
    • Login

    Macro command reference

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 3.6k 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.
    • alexologA
      alexolog
      last edited by

      I recorded a macro:

          <Macro name="F-list URLs" Ctrl="no" Alt="no" Shift="no" Key="0">
              <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
              <Action type="3" message="1601" wParam="0" lParam="0" sParam="^(https://www.example.com/([^/\r\n]+))/?$" />
              <Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
              <Action type="3" message="1602" wParam="0" lParam="0" sParam='&lt;b&gt; &lt;a href=&quot;\L\1\E&quot;&gt;\2&lt;/a&gt;&lt;/b&gt;&lt;br/&gt;' />
              <Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
              <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
              <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
              <Action type="3" message="1601" wParam="0" lParam="0" sParam='%20(?!.+&quot;&gt;)' />
              <Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
              <Action type="3" message="1602" wParam="0" lParam="0" sParam="\x20" />
              <Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
              <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
          </Macro>
      

      I would like to understand exactly what it is doing, and possibly modify it, but I could not find any reference of the messages and parameters. Similar questions have been asked before but the answers all link to a wiki which no longer exists.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @alexolog
        last edited by

        @alexolog

        https://npp-user-manual.org/docs/searching/#searching-actions-when-recorded-as-macros

        1 Reply Last reply Reply Quote 1
        • alexologA
          alexolog
          last edited by

          Thanks for that!
          Is there a list of messages that are not search-related?

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @alexolog
            last edited by

            @alexolog ,

            See the config files: <Macros> section of the npp-user-manual.org site.

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