Community
    • Login

    Macro command reference

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 4.3k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors