basically I had the idea to dynamically create macro with a macro. This works quite well by importing an XML via AppleScript, as Peter demonstrated in his post Create Text Expansion From Selection Macro.
However, is is also possible to edit such a macro via a macro once it was created? Is there for example any way to edit the XML of a macro directly? This would be only minor edits like renaming the macro and change a few constants, no major rebuilding of actions.
Is it possible?