Click to See Complete Forum and Search --> : how would i paste a string into the active text area on other app that have focas


David Lenk
October 22nd, 1998, 06:26 PM
I am working on an app that will enable the user to have hotkeys to certain

customized phrases. and the phrase that the particular hot key is assigned

to will be pasted into the text area that the cursur is in. but i need a

code example for how to find the current text area and another example of

how i would paste it there..


i dont want a full code example for the app i already made it i just need to

know how to paste into another app...

Justin Decker
October 25th, 1998, 05:36 PM
If the app to be pasted into has focus, you can use the native function SendKeys to paste. It's in the help file. Or there is the API keybd_event.