Autoit Click Keys together [duplicate]

2019-03-06 16:16发布

问题:

This question already has an answer here:

  • How to press “Ctrl+Shift+Q” in AutoIt 2 answers

How do I click in Autoit Keys together and not one after another.

In my case I want to click following:

CTRL + ALT + SHIFT + +

That would be this in Autoit:

   Send("{RCTRL}")          
   Send("{RALT}")           
   Send("{RSHIFT}")         
   Send("{+}")          

But this does click the keys just one after another, but I want to click all at once. Is there any solution for this in autoit?

回答1:

Looked it up. I don't think you can select right shift specifically (or alt, or ctrl).

Send("!+^{+}")

or

Send("{SHIFTDOWN}{CTRLDOWN}{ALTDOWN}{+}{ALTUP}{CTRLUP}{SHIFTUP}")


标签: key send autoit