Unusedtitle Macro and Text Substitution

I think @pmario has given a good example here: