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
Post a Comment