For example, if you create a new project and run this code:
mob/verb/Dump_Commands()
world << winget(usr, "macro.*", "command")
What I would like is if that would return about the same thing that this does:
mob/verb/Dump_Commands()
world << winget(usr,
{"macro.CENTER+REP;\
macro.NORTHEAST+REP;\
macro.SOUTHEAST+REP;\
macro.SOUTHWEST+REP;\
macro.NORTHWEST+REP;\
macro.WEST+REP;\
macro.NORTH+REP;\
macro.EAST+REP;\
macro.SOUTH+REP;\
macro.F1+REP;\
macro.F2+REP;\
macro.SHIFT+F2+REP"}, "command")
I'm not sure what would be the best way to make that happen. From what I understand, either the wildcard format needs to check for names after ids, specifically for the macros and menus, or the ids of macros and menus need to default to their names.
I think if something like this were done, then the wildcard would be more consistent in what it's supposed to do.
I find it annoying and buggy that I can't programmatically access macros and menus without ids (at least without brute forcing lol). I almost decided to make this a bug report until I found this one.
Lately, I have been working on runtime interface generation, and for that to be complete, I need to get access to all interface elements without actually knowing what they are at compile time, so I hope this can be fixed.