Send Text to other Applications
问题 I have a string variable. Now i want to store a string value into a control in another application without using the clipboard. I wanna do it manually. I think i should use SendMessage(WM_SETTEXT). Which way do you suggest (with an example please)? 回答1: As your application knows the string it has to send... You can set the focus to the target window/application if needed. Then you process each char contained in your string to simulate their key strokes. Something like that (too basic to work