Re: Replacing list numbers with their values
Posted: 2012-07-09 14:06:43
Great David, thanks for posting your final macro- it looks good to me.
That's because the macro language only does basic variable interpolation inside double-quote marks. That means replacing "$targetStyle" with its current value, but not anything more complicated like "$targetStyle.name" or "$styles[3]".# 1) Menu State “:Format:Lists:$targetStyle.name” did not work
# assigning $targetStyle.name to variable and using in Menu State did