Are you talking about your scripted example?

No, thanks, but I'd prefer to do this within the code... or even, thinking outside the square, to edit the script from within my C++ code and also have it run after code is compiled...

Would that be possible?