Menu

Macro Editor?

2007-06-15
2012-11-13
  • Frank Plohmann

    Frank Plohmann - 2007-06-15

    Hi!

    First of all, Notepad++ is a great program! :D

    But what I really miss is the possibilty to edit recorded macros by hand in Notepad++ after recording them and to be able to store them without assigning a shortcut.

    Are there any plans to enhace the macro support?

    Frapl

     
    • Nobody/Anonymous

      Hi,

      I was wondering if Notepad++ has support for VI commands like insert mode, command mode, 'dd' to delete the line... etc in form of a plugin?

       
    • Jens Lorenz

      Jens Lorenz - 2007-06-15

      Currently there are no plans, but I thought also on implmenting this. There are several solutions in other OS programs. First of all scintilla itself. It provide a plugin with explorer, project manager and - this is was my focus - macro recording and editing. Or someone implements the phyton based solution of PN2.

      Best Regards
      Jens

       
      • Nobody/Anonymous

        So, no way to edit macros

         
    • Greg Bullock

      Greg Bullock - 2007-06-15

      Depending on how motivated you are, you can edit saved macros in the file %AppData%\Notepad++\shortcuts.xml.  There's no easy user interface, of course, so you'd have to consult the source code for any details about codes and meanings.

      Regards.
      Greg

       
      • cimenta

        cimenta - 2007-07-12

        Hi all,

        is there any way how to play around with saved macros in case I run notepad++.exe from my usb stick? in %AppData%\Notepad++\ is no shortcuts.xml.

        thank you

        R.

         
        • MJG

          MJG - 2007-07-15

          I haven't run Notepad++ from USB, but there is an installation option: "Don't use %APPDATA%".  It stores the shortcuts.xml file in the Notepad++ installation directory.  I would expect your USB version to use either this directory or one on the USB memory stick.  --Joel

           
    • Frank Plohmann

      Frank Plohmann - 2007-06-18

      OK, thanks for the answers. :)

       
    • Andy Gherna

      Andy Gherna - 2007-07-17

      Why not take advantage of Notepad as the editor, but change the way macros are done?  For example, UltraEdit (not open source but excellent editor) has recently introduced Javascript as its macro language after years of running on an archaic and limited macro language of its own.  Notepad++ ought to do that.

      I wonder how easy it would be to embed something like Mozilla's SpiderMonkey JS engine and then expose a Notepad++ object that allowed you to do things to the buffers in the editor, files in the file system (respecting permissions of course).  I'm not a C/C++ programmer or I'd be able to answer these questions myself.  Nevertheless, I think putting in an established language like Javascript as a macro language rather than a poorly thought out custom language or using the XML file (which makes me wonder how well that will scale as I add more macros) would make this tool an extremely compelling tool.