Can't use the macro on new window
-
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! -
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.
-
@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?
-
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…
-
@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.
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