• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Clipboard - images?

 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have Windows IE users who would like to hit Alt-PrntScrn to capture an image of a defect and then Ctrl-V (or some button or link or whatever) to paste it into a note to support. I spent a few minutes doing this in Java, maybe something that could be in an applet, but I'd like to do it all in JavaScript. Maybe do some Ajax magic to send the image to the server and then insert an IMG tag into the current page. Any thoughts? Is this possible?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will not be able to do it with Ajax since that does not support binary and you are going to have to have a reference to a file (that is saved) in order to do an upload.

So you are out of luck with the clipboard and JavaScript.

Eric
 
Stan James
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bummer. Users do this "paste image" thing with Lotus Notes today and we would have to give them something pretty close to that to get them off Notes and into our app. We already have applets. Maybe another one won't hurt.
 
Grow your own food... or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic