积极答复者
Windows应用商店应用能不能控制鼠标和键盘?

问题
答案
-
鼠标移动到指定位置,不可以。
模拟某个键按下,不可以。
因为这些都是系统层面的东西,商店应用里面没办法实现。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已建议为答案 shao.mengModerator 2014年7月22日 10:46
- 已标记为答案 lxylxy123456 2014年7月23日 12:30
全部回复
-
鼠标移动到指定位置,不可以。
模拟某个键按下,不可以。
因为这些都是系统层面的东西,商店应用里面没办法实现。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已建议为答案 shao.mengModerator 2014年7月22日 10:46
- 已标记为答案 lxylxy123456 2014年7月23日 12:30
-
你好,这个我就不太清楚啦,商店应用里面是没有类似可以模拟鼠标键盘操作的API,我猜想有可能是你某些桌面程序控制的鼠标动向,或者是电脑本身就卡了一下,你的鼠标事件没有及时的反应在屏幕上。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.