Community
    • Login

    "Play Macro Exception" in NPP v7.8.5.

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 236 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.
    • geertsjG
      geertsj
      last edited by

      Hi,

      Since I have installed the latest version the macro engine doesnt work anymore!
      With every macri I run I get the error:


      Play Macro Exception

      Internal error: unknown saved command!

      OK

      In the former version v7.8.4. this problem does not exist (macros runs well).

      Please solve this!

      bye bye
      Geerts

      1 Reply Last reply Reply Quote 0
      • guy038G
        guy038
        last edited by guy038

        Hello @geertsj, and All,

        In your macro, probably some values are incorrect. The value of the lParam attribute, in the last line of your macros should be 1 !

                <Macro name="xxxxxxxxxxx" Ctrl="no" Alt="no" Shift="no" Key="0">
                    <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
                    ....................................................................
                    ....................................................................
                    ....................................................................
                    <Action type="3" message="1702" wParam="0" lParam="N" sParam="" />
                    <Action type="3" message="1701" wParam="0" lParam="1" sParam="" />
                </Macro>
        

        Refer to this other post, below, and all the following ones for further information :

        https://community.notepad-plus-plus.org/post/51407

        A fix of that issue, from @don-ho, will come with the next release !

        Also, in summary, presently :

        • If the value of lParam is 1723, in the 1701 message : change this value 1723 to 1 and make sure that the 1702 message contains a 512 bitweighting, in number N ( Forward search )

        • If the value of lParam is 1721, in the 1701 message : change this value 1721 to 1 and make sure that the 1702 message does not contain a 512 bitweighting, in number N ( Backward search )

        Best Regards,

        guy038

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