将键盘和鼠标移动映射到后台网页 [英] Mapping Keyboard and Mouse movement to background web page

查看:330
本文介绍了将键盘和鼠标移动映射到后台网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做我的Google Summer of Code项目。在这个项目中,我使用Google Chrome的屏幕捕捉扩展捕捉屏幕,然后将其显示在我的网页上。



现在我想与此扩展程序捕获的屏幕进行交互。我能做些什么来将键盘和鼠标移动映射到我捕获的原始网页上吗?



也许JavaScript方式或使用其他脚本语言,如AutoIT ?



这正是我想要做的:



您必须先获得窗口的控件ID。


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

解决方案

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

You must get the control ID of the window first.

这篇关于将键盘和鼠标移动映射到后台网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆