add some way to invoke macro
Merge pull request #946 from fghhfg/patch-7

add some way to invoke macro