Cander's right really, i mean, not exactly right, but close...

you can copy to clipboard using javascript, if the user's browser allows it. And so its only useful when the user accepts that he must allow your webpage access to your computer.

IE running on XP with Sp2 will notify the user the webpage is trying to access resources on your computer using active content.

And other browsers have their own quirks.

http://www.experts-exchange.com/Web/..._20233392.html

If you go to that page, and find the accepted answer by 'mplungjan' (ignore the signup to see solution, just scroll past the middle advertising), you will see he shows a javascript function which automatically copies a selected value from a listbox to your clipboard.

Throw his entire html code into a blank html file... run it in IE, when you select A, 'Alpha' gets copied to your clipboard, which you can verify by opening notepad, and right-clicking and selecting PASTE.

Cander is still of course right, its an answer, but its pretty kludgy because of how webpages are meant to be limited to access to your local machine.