本文介绍了如何按"Ctrl + Shift + Q"在AutoIt中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个具有快捷键 + + 的应用程序,可以将其退出.我想通过AutoIt按 + + 退出我的应用程序.我尝试如下:

I have an application which has a shortcut key + + to quit it. I want to press + + via AutoIt to exit my application. I tried it as below:

Send("{LCTRL} {LSHIFT} Q")

ControlSend("{LCTRL} {LSHIFT} Q")

但是他们都没有工作.请引导我以正确的方式进行操作.

But none of them did work. Please guide me to do it the right way.

推荐答案

您想要类似的东西

Send("{CTRLDOWN}{SHIFTDOWN}q{CTRLUP}{SHIFTUP}")

您要发送的内容按顺序逐个按,而不是将它们链接在一起.希望有帮助!

What you are sending presses the keys individually in sequence, rather than chaining them together. Hope that helps!

这篇关于如何按"Ctrl + Shift + Q"在AutoIt中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 20:40