The obvious solution is to write a plug-in to do this for you automatically. We are currently developping a plug-in that could be easily modified to do this. If you are interested, I can ask my boss to allow me to build a special version out of our alpha version. For now, what our plug-in does...