Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a macro in Notepad++ that cleans up imported data through a series of regex search and replace iterations. This works well, but at each step, I get a popup telling me how many instances were replaced. This means I have to press Enter several times for the macro to run to completion, which is annoying.

Is there any way to turn off these popup notifications while the macro is running? I haven't been able to find any setting in the application preferences that controls this.

share|improve this question
As of NP++ 6.5.2, the popup has been replaced by a status bar in the Search/Replace dialog. – Lev Jan 8 '14 at 15:49
up vote 3 down vote accepted

There is no way to do this in official code. However, if you can apply a patch and compile from source, then you can try the Adjustable Feedback mode patch, available here. You might also be interested to contribute to the discussion about that topic here.

share|improve this answer

If you wanted to patch notepad++

Modify line 932 of ./PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp

::MessageBox(_hParent, result.c_str(), TEXT("Replace All"), MB_OK);

You would want to add

if !(isMacroPlaying) ::MessageBox(_hParent, result.c_str(), TEXT("Replace All"), MB_OK);

But at this time there is no isMacroPlaying.

The generic MessageBox does not have a handler "message" id to interact with during macro play.

share|improve this answer
although the adjustable feedback patch is large it is your best bet. – shadowbq Aug 10 '12 at 19:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .