在 WSH 中,我如何解析像 ALT-CTRL-DEL 这样​​的多键按下? [英] In WSH, how can I parse multiple-key presses like ALT-CTRL-DEL?

查看:16
本文介绍了在 WSH 中,我如何解析像 ALT-CTRL-DEL 这样​​的多键按下?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 WSH 脚本中使用多个键,例如 (ALT,CTRL,DELETE)?如何使用 WSH 脚本截取应用程序的屏幕截图并将其粘贴到 MSWord 中?

How can I use multiple keys in WSH Script like (ALT,CTRL,DELETE)? How can i take a screenshot of an application and paste it in MSWord using WSH SCript?

推荐答案

使用 SendKeys,你不能.我告诉过你.

Using SendKeys, you can't. I told you so.

关于发送多个密钥 - 请阅读 文档SendKeys() 在 MSDN 上.不难发现.

Regarding sending multiple keys - please read the documentation on SendKeys() on MSDN. It's not hard to find out.

也许某处有一个 ActiveX 组件可以为您拍摄屏幕截图,但是使用普通的 Windows 脚本,这是无法做到的.

Maybe there is an ActiveX component somewhere that can take screen shots for you, but using vanilla Windows scripting, this cannot be done.

这篇关于在 WSH 中,我如何解析像 ALT-CTRL-DEL 这样​​的多键按下?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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