Is it a mistake on my part or not?
I'm afraid so. In SVN, see how you can use such macros/scripting foo in this project file:
[C::B_SVN]\src\tools\test\macrosmanager\macrosmanager.cbpIt covers pretty much every case.
BTW: From the code its unclear to me if you want use C::B's scripting engine, variable expansion, both, or not...
However, the example posted above
will help.