Without testing whether the macro-saving problem is generally reproducible, I can tell you that the macro in question will not work.
At present, macros record only
- keystrokes made to the edit window and
- a few, probably most, menu commands,
They do not record button clicks and keystrokes to dialog boxes, such as the search and replace.
Sometimes you can work around this by priming the search/replace dialog before recording your macro, then in recording the macro use <F3> (Find Next) where applicable.
Regards.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How would I go about recording a macro for several consecutive search&replace jobs? Or is this impossible?
I regularly use Notepad++ to clean up texts, running several search/replace job like fakeraol's ü to ü in a row. It would be great if I could just record a macro instead of going through the same steps time and time again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Alas, that is not possible as far as I know. That is, the macro can record the <F3> keystroke, to repeat the last search/replace, but it cannot store the search/replace strings (or populate the search/replace fields) for you.
Regards.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
win2k pro sp4
on all tested versions of npp save my macro does not work:
record macro
search
replace
ü -> ü
replace all
<- x tokens are replaced
ok
close
stop recording
"playback" & "save current recorded macro" are disabled.
second question: where will macros be saved and may i edit them by hand?
where may i edit/delete them?
Without testing whether the macro-saving problem is generally reproducible, I can tell you that the macro in question will not work.
At present, macros record only
- keystrokes made to the edit window and
- a few, probably most, menu commands,
They do not record button clicks and keystrokes to dialog boxes, such as the search and replace.
Sometimes you can work around this by priming the search/replace dialog before recording your macro, then in recording the macro use <F3> (Find Next) where applicable.
Regards.
Greg
How would I go about recording a macro for several consecutive search&replace jobs? Or is this impossible?
I regularly use Notepad++ to clean up texts, running several search/replace job like fakeraol's ü to ü in a row. It would be great if I could just record a macro instead of going through the same steps time and time again.
Alas, that is not possible as far as I know. That is, the macro can record the <F3> keystroke, to repeat the last search/replace, but it cannot store the search/replace strings (or populate the search/replace fields) for you.
Regards.
Greg