I have an application which has a shortcut key Ctrl + Shift + Q to quit it. I want to press Ctrl + Shift + Q via AutoIt to exit my application. I tried it as below:
Send("{LCTRL} {LSHIFT} Q")
and
ControlSend("{LCTRL} {LSHIFT} Q")
But none of them did work. Please guide me to do it the right way.
Please use the below option
The keylists are available in the AutoIt Help link, take a look at Send Auto Keys List
You want something like:
What you are sending presses the keys individually in sequence, rather than chaining them together. Hope that helps!
Source: www.autoitscript.com