问题
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