title: Paste image from clipboard javascript
body: <p>We have a program the wants to get an image copy into the clipboard to paste into a file on the HDD using <code>javascript</code>/<code>HTA</code>. </p>
  
  <p>Does anyone done something like this before? Or How can I create an image file on the HDD from the information in the clipboard?</p>
  
  <p>We are already using the following for text, but it does not work for images:</p>
  
  <pre><code>clipboardData.setData("Text", 'To Copy to clipboard');
  clipboardData.getData("Text");  // To copy from clipboard
  </code></pre>