send paste to clipboard and such

leontager

Regular
Joined
Jun 17, 2003
Messages
89
how can I send lets say notepad a command to paste the text from the clipboard. I would like it to work for other applications as well.

I used

Clipboard.SetDataObject("me@me.com")

to set the clipboard to whatever I want but I am not sure how I can paste it now into other applications. I guess even a shift + v combo will work but I don't know how to do that either.
 
Might I ask what this is for? There may be a better, less tacky way to do it.
 
mainly its to send a @ key. I tried holding down the shift and pressing 2 with code but It didn't work. when I was holding down the shift and pressed the keys I got capital letters. If you can suggest a better way I would be more then happy to try it out:)
 
Back
Top