every operator is being exposed to python apparently. meaning if you can do it in blender you can control it with a script. LetterRip am i right on this?
I suggest you to ask on Blender Stack, your question will get more visibility and get tagged to help others find the answer: https://blender.stackexchange.com/
If any of you guys have ever used Textools for 3ds Max, @renderhjs is making a Textools plugin for Blender: https://twitter.com/renderhjs/status/937507897948356608