Get text and caret from a textbox in another application
问题 Background information I am working on a Windows Speech-To-Text application. When speech has been recognized, the text should be inserted into the textbox that currently has keyboard focus (Think Word/Firefox/other applications). To insert the text I am currently using InputSimulatorPlus. When inserting the text, it is important the recognized text is formatted to fit the surrounding text, like: uppercase letter after punctuation lowercase first letter when it is NOT after punctuation