;

PDA

Click to See Complete Forum and Search --> : JavaScript Q?


fwhilton
06-18-2001, 09:07 PM
Hey Johnie,

Can I use javascript to copy preset text to the clipboard from within KM?

i.e. when a user clicks a button, it copies text to the clipboard that I set in the javascript code.

can do??

thanks

johnie
06-18-2001, 09:41 PM
It can be done but you would have to access the Command.com on a Win 9X machine and it would not work on a Win 2K machine or a NT Machine. This would assume that the User hasn't moved that file.

This wouldn't really be using Javascript but is rather a hack using the browser and the browser handler. There is much discusion using this hack in the standlone and application board.

Javascript only works in a browser and does not work inside something like Notepad.