Another Idea is to have a macro directive like
#MenuPath “Search&Replace macros”
to add to all macro files we want to sort hierarchic in EmEditors Macros menu.
So some of my macro files would contain
#MenuPath “Search&Replace macros” as first line
#MenuPath “Formatting macros”
other ones
#MenuPath “Change case macros”
and so on, and EmEditor would create a menu for that hierarchic structure
and put the macros with that directive into the right sub menu.
AllMacros\Search&Replace macros
AllMacros\Formatting macros
AllMacros\Change case macros