Jump to content

How to controlsend () ctrl + Key + Shift Key and ALT key to minimized application

Recommended Posts


Hello guys, searching in this forum, I could send ctrl + key to a minimized application.
How is not explicit in any place of the internet, write here in my first post.

ControlSend ("App name", "", "", "{CTRLDOWN}")
ControlSend ("App name", "", "", "{DOWN}")
ControlSend ("App name", "", "", "{CTRLUP}")

*Sorry my poor english.





Share this post

Link to post
Share on other sites

ControlSend() works in a similar way to Send() but it can send key strokes directly to a window/control, rather than just to the active window.

From the Send() function:


This tells AutoIt to send an ALT keystroke, therefore Send("This is text!a") would send the keys "This is text" and then press "ALT+a".

N.B. Some programs are very choosy about capital letters and ALT keys, i.e., "!A" is different from "!a". The first says ALT+SHIFT+A, the second is ALT+a. If in doubt, use lowercase!

This tells AutoIt to send a SHIFT keystroke; therefore, Send("Hell+o") would send the text "HellO". Send("!+a") would send "ALT+SHIFT+a".

This tells AutoIt to send a CONTROL keystroke; therefore, Send("^!a") would send "CTRL+ALT+a".

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.