I have a TTS program (Third Party) and I wrote a c# application that uses that program. (Type into my application and press a button to move the mouse and click on the Third
You can do this by using a wrapper around Direct X. There are many examples, just google for it. For example, C# code can be found here or here.