hta - Take a screenshot of a webpage with JavaScript? -


is possible to take screenshot of webpage javascript , submit server?

i'm not concerned browser security issues. etc. implementation hta. possible?

i have done hta using activex control. pretty easy build control in vb6 take screenshot. had use keybd_event api call because sendkeys can't printscreen. here's code that:

declare sub keybd_event lib "user32" _ (byval bvk byte, byval bscan byte, byval dwflags long, byval dwextrainfo long)  public const captwindow = 2  public sub screengrab()    keybd_event &h12, 0, 0, 0    keybd_event &h2c, captwindow, 0, 0    keybd_event &h2c, captwindow, &h2, 0    keybd_event &h12, 0, &h2, 0 end sub 

that gets far getting window clipboard.

another option, if window want screenshot of hta use xmlhttprequest send dom nodes server, create screenshots server-side.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -