My app. will be running on the system try monitoring for a hotkey; when the user selects some text in any window and presses a hotkey, how do I obtain the selected text, whe
Try adding a Sleep() after each SendInput(). Some apps just aren't that fast in catching keyboard input.
Sleep()