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”
#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\Change case macros