MAXSCRIPT: Dynamic menu without macroscripts

Hello,

Is there any way in maxscript to generate menu items without using macroscripts ? I have a wrapper to 3dsmax that uses a custom startup script and I am building my menus in there, but I don’t want this process to save any macrosripts in the APPDATA folder.

I see that in the python menu example, there is a way to add an action without creating a macroscript :

Help (line 22) (Not sure if this creates a macroscript underneath)

Can i do the same thing with maxscript ? Is there an alternative way of adding menuitems to menuMan.createActionItem ?

Thanks!