What I want to do SYSTEM WIDE is:
After the user does Highlight (Select) text, hotkey (CTRL+ALT+C):
Then automatically fire in this sequence: copy to clipboard, manipulate text, re-paste to original location.
I know how to do the hotkey part.
Thanks
Printable View
What I want to do SYSTEM WIDE is:
After the user does Highlight (Select) text, hotkey (CTRL+ALT+C):
Then automatically fire in this sequence: copy to clipboard, manipulate text, re-paste to original location.
I know how to do the hotkey part.
Thanks
I think there is an API named GetWindowText (I'm not sure about the name) but I'm not sure what it does either :o ... Another guess would be the SendMessage API with the gettext constant if you can find the hwnd...
SetClipboardData ....
J4U - if you go over to allapi.net & download the API guide this tells you a load of 'em all with samples you can use.
The left side of the app divides all of the api calls either by name or by group - one of these groups is "clipboard" which lists all the calls you'll need. :)
Quote:
The GetWindow function retrieves the handle of a window that has the specified relationship (Z order or owner) to the specified window.