1

I'm trying to find a keystroke or plugin (that I could assign a hotkey to) to do the following:

  • Focus the "Find Result" window (I know the F7 key does the focusing, but I think it's also a toggle)
  • Select all of the text within same window
  • Choose (and thus execute) the action "Clear All"

I checked in the Plugin Manager and can't seem to find one that looks like it's meant to do what I need.

I recorded a macro to do this, but the macro does not repeat the steps as they were when I recorded the macro. Also, I'm currently unable to save them. I've mentioned it in the Notepad++ forums (inability to save macro) and there is a bug already reported.

Does anyone have any ideas to try here? Or can point me in the right direction of creating a plugin by which to do what I need. Will I need to learn Scintilla commands in order to accomplish this?

Thanks, Adam

8
  • If it's a known bug then you'll probably have to wait for it to be fixed.
    – Karan
    May 28, 2015 at 19:09
  • Hi @Karan yes, the saving the macro part seems to be a bug to wait for a fix. I'm wondering if anyone in the community has come across the need to clear out the Find Results window and could share a pointer or 2.
    – Adam T
    May 28, 2015 at 19:11
  • Can you tell us what you're trying to automate? Just this (which seems trivial to do with a mouse) or is it part of a larger macro that performs other actions as well?
    – Karan
    May 28, 2015 at 19:33
  • I'm trying to automate the steps in the bulleted list above. Yes, it is trivial to do with mouse, but in my current project I'm doing these clicks over and over again. It's a preference thing.
    – Adam T
    May 28, 2015 at 19:39
  • 1
    Ok. I might be wrong but as far as I can see these extra panes that open up are not under the purview of macros.
    – Karan
    May 28, 2015 at 19:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.