Macro Application Programming Interface