Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Need to Move the macros

    Help wanted · · · – – – · · ·
    4
    9
    699
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tair Tairoff
      Tair Tairoff last edited by

      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

      1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones last edited by PeterJones

        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

        1. Close all active Notepad++ instances.
        2. Open exactly one Notepad++ instance. And don’t open any other instances until you have saved and exited in step 6.
        3. File > Open %AppData%\Notepad++\shortcuts.xml
        4. In the <Macros> section of the xml, you can reorder the <Macro ...>...</Macro> to whatever order you want
        5. Save
        6. Exit Notepad++
        7. 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.)

        1 Reply Last reply Reply Quote 1
        • Tair Tairoff
          Tair Tairoff last edited by

          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

          Alan Kilborn 1 Reply Last reply Reply Quote 0
          • Alan Kilborn
            Alan Kilborn @Tair Tairoff last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • Tair Tairoff
              Tair Tairoff last edited by Tair Tairoff

              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.

              andrecool-68 1 Reply Last reply Reply Quote 0
              • PeterJones
                PeterJones last edited by

                @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. :-))

                1 Reply Last reply Reply Quote 1
                • Tair Tairoff
                  Tair Tairoff last edited by

                  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)

                  andrecool-68 1 Reply Last reply Reply Quote 0
                  • andrecool-68
                    andrecool-68 @Tair Tairoff last edited by andrecool-68

                    @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!
                    &#x0412; …This is unicode https://graphemica.com/В

                    Imgur

                    1 Reply Last reply Reply Quote 1
                    • andrecool-68
                      andrecool-68 @Tair Tairoff last edited by

                      @Tair-Tairoff See this topic on how to move collapsed blocks:
                      https://notepad-plus-plus.org/community/topic/17690/moving-blocks-along-with-content

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      Copyright © 2014 NodeBB Forums | Contributors