Hi. I am a recent convert to NPP, and was wondering if there is an alternative to NPP's Macro Recorder. I have created macro's and used them, but I find it difficult to modify them. Is there a way to modify a macro without deleting it and re recording it? I have been through the modify instructions, and all it seems to let me to is modify the activation key (i.e ALT+(keystroke) rather than what the macro echo's to the screen.
I have macros that need changing regularly, and I find the above non productive. The old editor that I switched from (Arachnophilia) had a simple shortcut recorder that went something like Press This (i.e ALT+A) and get this [i.e <url="whatever.htm">]</url="whatever.htm"> and was easily edited.
I am not a programmer as such (only CSS, HTML etc.) so I don't know how to write plugins, and was wondering if there is either an alternative available, or am I not using the Macro Recorder properly, or if somebody would be able to assist with a plugin...
TIA
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Mike,
You should try the plugin "Python Script" ( http://npppythonscript.sourceforge.net/).
It's more powerful than macro recorder but it's a little bit complicated.
It worth learning python to do powerful script.
have fun
Christophe
Hi. I am a recent convert to NPP, and was wondering if there is an
alternative to NPP's Macro Recorder. I have created macro's and used them,
but I find it difficult to modify them. Is there a way to modify a macro
without deleting it and re recording it? I have been through the modify
instructions, and all it seems to let me to is modify the activation key
(i.e ALT+(keystroke) rather than what the macro echo's to the screen.
I have macros that need changing regularly, and I find the above non
productive. The old editor that I switched from (Arachnophilia) had a
simple shortcut recorder that went something like Press This (i.e ALT+A)
and get this [i.e <url="whatever.htm">]</url="whatever.htm"> and was easily edited.
I am not a programmer as such (only CSS, HTML etc.) so I don't know how to
write plugins, and was wondering if there is either an alternative
available, or am I not using the Macro Recorder properly, or if somebody
would be able to assist with a plugin...
TIA
Having a plugin record and edit macros is a really cool idea...and honestly wouldn't be too hard. However it would have a few quirks/limitations. It would work side-by-side with Notepad++'s macro recorder so it may confuse users a bit. And the plugin would only be able to record Scintilla commands (edit, cut, copy, paste, moving, etc), and not Notepad++ commands (folding, sorting, block commenting, lowercase/uppercase, etc).
So unless modifications are made in Notepad++ itself to send some more notifications to plugins, it looks like your best bet is to check out something like the Python Script plugin.
Last edit: Justin Dailey 2014-08-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I am a recent convert to NPP, and was wondering if there is an alternative to NPP's Macro Recorder. I have created macro's and used them, but I find it difficult to modify them. Is there a way to modify a macro without deleting it and re recording it? I have been through the modify instructions, and all it seems to let me to is modify the activation key (i.e ALT+(keystroke) rather than what the macro echo's to the screen.
I have macros that need changing regularly, and I find the above non productive. The old editor that I switched from (Arachnophilia) had a simple shortcut recorder that went something like Press This (i.e ALT+A) and get this [i.e <url="whatever.htm">]</url="whatever.htm"> and was easily edited.
I am not a programmer as such (only CSS, HTML etc.) so I don't know how to write plugins, and was wondering if there is either an alternative available, or am I not using the Macro Recorder properly, or if somebody would be able to assist with a plugin...
TIA
Hello Mike,
You should try the plugin "Python Script" (
http://npppythonscript.sourceforge.net/).
It's more powerful than macro recorder but it's a little bit complicated.
It worth learning python to do powerful script.
have fun
Christophe
2014-08-13 5:10 GMT+02:00 Mike.B compass1312@users.sf.net:
Having a plugin record and edit macros is a really cool idea...and honestly wouldn't be too hard. However it would have a few quirks/limitations. It would work side-by-side with Notepad++'s macro recorder so it may confuse users a bit. And the plugin would only be able to record Scintilla commands (edit, cut, copy, paste, moving, etc), and not Notepad++ commands (folding, sorting, block commenting, lowercase/uppercase, etc).
So unless modifications are made in Notepad++ itself to send some more notifications to plugins, it looks like your best bet is to check out something like the Python Script plugin.
Last edit: Justin Dailey 2014-08-19