Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

loading content to clipboard

 
nikil shar
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would have to do this using JavaScript since it would have to execute in the client's browser - not Java.
 
nikil shar
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
how would i do that in javascript ?? sorry am not very good with scripting.

ta.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic