Sony doesn’t expose the Text Media Generator in the Vegas Script API so there is no way to do this with a script. You would have to illegally hack the Sony Text Media Generator format to do this, but it is prohibited by the End User License Agreement to reverse engineer the product.