How to Share a Recorded Marco with others?
Anwesh Gangula last edited by
I’ve created a macro for a process of Find & Replace. Now I want to share it with my co-workers. How can I do that?
Scott Sumner last edited by
Locate your shortcuts.xml file. It will either be in
%APPDATA%\Notepad++(type that in the Windows Search programs and files… box (obligatory nod to @PeterJones), or in the same folder as notepad++.exe.
Open your shortcuts.xml and you will see various sections, one of which is <Macros>. Inside this section will be, obviously, your macros. Locate the one(s) you are interested in and copy the lines between (and including):
<Macro name="......."> ... ... ... </Macro>
Locate and edit shortcuts.xml on a different computer and insert the copied macro definition; a good insertion point may be right before the </Macros> line. Save the file. If you use Notepad++ to do this insertion, restart Notepad++ and the macro should be available.
CrossBound.tech last edited by
Thank you. I was wanting to use a macro I created on a different computer and was able to do it with these instructions.
Janice Putman last edited by
the macros which I have created do not show in my shortcuts.xml file. is there somewhere else they could be?
i am on a windows 10 machine.
PeterJones last edited by PeterJones
shortcuts.xmldid you look in: the one in your installation directory (same directory as notepad++.exe) or the one in
If your NPP menubar’s
? > Debug Infoshows “Admin mode: OFF”, then it will be in your AppData hierarchy. If it’s “Admin mode: ON” (aka, a portable copy), then it will be in your notepad++.exe directory (the “Path: …” from the
guy038 last edited by
At the end of your previous post, you spoke of the
Admin modeflag, in the Debug Info window. Personally, I would have spoken of the
Local Conf modeflag !
Am I right about it ?
PeterJones last edited by
Yes, of course. Sorry.