• Login
Community
  • Login

Can't use the macro on new window

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 4 Posters 432 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.
  • S
    Semih Süzen
    last edited by Oct 25, 2022, 11:29 AM

    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!

    A 1 Reply Last reply Oct 25, 2022, 11:57 AM Reply Quote 0
    • A
      Alan Kilborn @Semih Süzen
      last edited by Alan Kilborn Oct 25, 2022, 1:49 PM Oct 25, 2022, 11:57 AM

      @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.

      N 1 Reply Last reply Oct 26, 2022, 3:47 AM Reply Quote 3
      • N
        Neil Schipper @Alan Kilborn
        last edited by Oct 26, 2022, 3:47 AM

        @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?

        A P 2 Replies Last reply Oct 26, 2022, 11:30 AM Reply Quote 0
        • A
          Alan Kilborn @Neil Schipper
          last edited by Oct 26, 2022, 11:30 AM

          @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
          • P
            PeterJones @Neil Schipper
            last edited by Oct 26, 2022, 1:05 PM

            @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
            5 out of 5
            • First post
              5/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors