HTML 5 snapshot

Hi, i have problem.
I create menu widget:
button on clicked => execute command “HighResShot 2” .
Work great in exe, but no in html.
Please help me…