View Full Version : Onclick button which saves contents of the clipboard to a specific folder.

05-18-2012, 04:28 PM
Hi all, I have been searching for quite a while for a solution to this but I have no no luck.

This is what I have currently


function doSaveAs(){
if (document.execCommand){
else {
alert("Save-feature available only in Internet Exlorer 5.x.")
<button onClick="window.location=''"> Snapshot</button>

When the button is clicked it saves a jpg image off a camera and opens a save as dialog box.

Is it possible to do this but saving the contents of the clipboard?

05-18-2012, 10:29 PM
What browser are you trying to run that in? Code like that will only run in old versions of Internet Explorer (or newer versions of Internet Explorer if you turn off some of the security settings).