aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes loading content to clipboard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "loading content to clipboard" Watch "loading content to clipboard" New topic
Author

loading content to clipboard

nikil shar
Ranch Hand

Joined: May 25, 2008
Posts: 116
hi all,
i have a java app sitting on a solaris box and am using a windows machine to use the application i.e from a web browser. i wanetd to know if there is a way to load any content displayed in the browser to the local windows machines clipboard ??

have looked at the awt package and the "getSystemClipboard" doesnt seem to be working since it returns the solaris boxes clipboard.

thanks in advance.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

You would have to do this using JavaScript since it would have to execute in the client's browser - not Java.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
nikil shar
Ranch Hand

Joined: May 25, 2008
Posts: 116
hi,
how would i do that in javascript ?? sorry am not very good with scripting.

ta.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loading content to clipboard