Need to Move the macros
-
Hi everybody. who knows plugin to move macroses up or down? sort all macroses by name. please help who knows exist this plugin or not. Thanks everyone
-
Welcome to the Notepad++ Community, @Tair-Tairoff.
I don’t know of a plugin that does it. However, the macros are stored in the
shortcuts.xml
config file. (In a normal installation,%AppData%\Notepad++\shortcuts.xml
). To change the order in the list- Close all active Notepad++ instances.
- Open exactly one Notepad++ instance. And don’t open any other instances until you have saved and exited in step 6.
- File > Open
%AppData%\Notepad++\shortcuts.xml
- In the
<Macros>
section of the xml, you can reorder the<Macro ...>...</Macro>
to whatever order you want - Save
- Exit Notepad++
- Open Notepad++.
The macros should now be in the right order.
(Having only one Notepad++ is important, because having multiple Notepad++ open can confuse which instance is the last to write to
shortcuts.xml
, and might undo your change.) -
Mr. Peter thank you so much. but if authors will create in near future buttons to move macros up and down will be best too.
best regards, Tair -
@Tair-Tairoff said:
but if authors will create in near future buttons to move macros up and down will be best
Dubious. Developer’s are small in number and their time is precious. We’d rather they spend their time on more important things.
-
but i have a little prooblem. im writing on russian text and when i opened a shortcuts.xml i saw this(Macro name="А Я ПО&#x )
how i can decrypt it or try to understand what writed here?Dear Alan. some people needs other functions. i use this programs only for this feature.
-
@Tair-Tairoff said:
how i can decrypt it or try to understand what writed here?
I would have thought that
shortcuts.xml
would use UTF-8 for the name of the macro, so it surprises me that you cannot read it back correctly. Maybe @andrecool-68 can chime in here…some people needs other functions. i use this programs only for this feature.
You can feel free to follow the instructions in this FAQ to request the feature; however, there is no guarantee it will be implemented; I find it highly unlikely, because the author has already included a method – manually editing the
shortcuts.xml
– to reorder the macro list. (If you also include a pull request with that feature implemented, there’s a much higher chance it will get added to the future codebase. :-)) -
main problem is im wrote on russian and see strange symbols (sParam=“& # x 0 4 1 2;”) without spaces, but anyway npp developed for russian lang too. and for search line i waste so much time. (sParam=“& # x 0 4 1 2;”) means ony one letter) i will look all the faq but need to some decrypter to know what wrote in every line. another question is macro menu has numbers. one two three … macroses. maybe i can move this menu? and how if it realy possible)
-
@Tair-Tairoff To decode these characters you can use the plugin “HTML Tag”
But what’s the point of decoding it? Cyrillic will not work there!
В
…This is unicode https://graphemica.com/В -
@Tair-Tairoff See this topic on how to move collapsed blocks:
https://notepad-plus-plus.org/community/topic/17690/moving-blocks-along-with-content