Community
    • Login

    Can't use the macro on new window

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 4 Posters 389 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.
    • Semih SüzenS
      Semih Süzen
      last edited by

      Hi guys! I’m using v8.4.6 (64bit Windows ).
      When a new macro is saved with “Start/Stop Recording button” the “Playback” button appears to be active. But after I move the current file to a new window (by dragging the tab to an empty space on screen) it dissapears for the new window and I can’t use my macro that I just saved. It still appears on the old window though!
      How can I use my macro after I moved the tab to a new window.
      Help please!

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Semih Süzen
        last edited by Alan Kilborn

        @Semih-Süzen

        Ah… multi-instances… which is what you are getting when you “drag the tab to an empty space on screen”…

        When you do what you’ve described, Notepad++ starts up another instance of itself, but that instance only has the settings that have been saved to disk that last time N++ was exited. Your newly created macro has not yet been saved to disk, so the new instance of N++ doesn’t know about it yet. Even though you “saved” your macro, Notepad++ keeps it only in its memory until such a time as you exit the program.

        You must restart after creating (and “saving”) a macro for your described workflow to be successful.

        BTW, IMO multi-instances of Notepad++ are somewhat evil. My advice is to not use them, or use them only if you really know what you are doing, and understand their limitations.

        Neil SchipperN 1 Reply Last reply Reply Quote 3
        • Neil SchipperN
          Neil Schipper @Alan Kilborn
          last edited by

          @Alan-Kilborn said in Can't use the macro on new window:

          or use them only if you really know what you are doing, and understand their limitations

          Yep. And as I recall, someone was sufficiently annoyed by the inability to secure active-but-volatile settings (prone to being lost on a power outage) that they provided a script to execute a quit-restart cycle… which should be a built-in user command, especially since the functionality already exists – we see it used reliably with version updates as well as with plugin installs.

          I haven’t checked but there must surely be an open feature request about this. Anyone know?

          Alan KilbornA PeterJonesP 2 Replies Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @Neil Schipper
            last edited by

            @Neil-Schipper

            execute a quit-restart cycle… which should be a built-in user command

            I haven’t checked but there must surely be an open feature request about this. Anyone know?

            I don’t believe the is an official feature request for that. You could create one…

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

              @Neil-Schipper said in Can't use the macro on new window:

              someone was sufficiently annoyed by the inability to secure active-but-volatile settings (prone to being lost on a power outage) that they provided a script to execute a quit-restart cycle

              Specifically, in Notepad++ Restart Shortcut Key discussion.

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