Menu

Can I delete a macro?

2007-10-10
2012-11-13
  • Nobody/Anonymous

    I was trying to create a macro using the Find/Replace function which I've since found out by reading these posts that I can't really do that.  A word on that in a minute.  My main problem is that I created, named and saved a macro which turned out to have a flaw.  I then recreated it minus the flaw and saved it with the same name and shortcut.  However, it shows up twice in my list of macros.  Is there any way to delete an unwanted macro?

    A note about using Find/Replace in a macro.  I just started using Npp today and think it's great so I still have a lot to learn but in my experimenting, I found that if I put the cursor on a given line, start recording a macro and then use Shift/right arrow to select the text, Ctl C, Ctl F, Ctl V, and then use tab to work my way through the dialog box, hitting Enter when appropriate then it seems to work.  Basically, as long as I only use keystrokes I seem to be getting some positive results.  Like I said, I just started today so I haven't played much.  I have to admit I am seeing a little behavior problem in that I tried that method twice to use it to select a given line and then delete that line and several following it but only the last macro I recorded seems to be working properly while the first one seems to be using the Find Next from the last one.  Still, it has promise...or maybe not.  Just thought I'd throw that in, my main question has to do with deleting macros.

    Thanks

     
    • CodeNexus

      CodeNexus - 2007-11-04

      I actually don't like to worry about these little things but a Macro management console would be far more usable.

       
    • Nobody/Anonymous

      Try searching for the marco and deleting the file.

       
    • Greg Bullock

      Greg Bullock - 2007-11-02

      Open %appdata%\shortcuts.xml and delete the unwanted <Macro>...</Macro> block.

      Regards.
      Greg

       
MongoDB Logo MongoDB