MindManager macros are not recordable like macros in MS Office apps. They are only programmable using the VBA-compatible scripting language.
"MindManager for Dummies", published by Wiley, is based on MindManager X5 and has a chapter on macro programming. I am pretty sure that everything that runs on X5 will also run on MindManager 7, so the examples should still be relevant.
There is also documentation available in the Mindjet DevZone describing the object model and discussions on the use of macros.