Using the repository of all existing macro and based on simple trigger, action constraint description, maybe its possible to propose a customized template of macro when a user want to create a new macro.(i know that there is a lot of NLP work behind this)
For exemple the user press a magic...