Mapping Keyboard and Mouse movement to background web page

余生颓废 提交于 2019-12-13 02:09:39

问题


I am doing my Google Summer of Code project. In this project I am capturing the screen using Google Chrome's Screen Capture extension and then displaying it on my webpage.

Now I want to interact with the Screens Captured by this extension. Is there something I can do to map keyboard and mouse movement to the original web page that I'm capturing?

Perhaps the JavaScript way or use of other scripting languages like AutoIT?

This is exactly what I want to do: Demo Video


回答1:


I think that you mean you want to send mouse and keyboard clicks to a hidden window using AutoIt?

  • to send keyboard typing, use ControlSend
  • to send mouse clicks, use ControlClick

You must get the control ID of the window first.



来源:https://stackoverflow.com/questions/24380603/mapping-keyboard-and-mouse-movement-to-background-web-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!