What is the problem with this code, I know it should send ctrl+alt+del, but it doesn’t!:
Sleep(1000)
Send("^!{DELETE}")
And this should send Win+l, which should lock the computer:
Sleep(1000)
Send("#l")
Why don’t they work?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the
Senddocumentation:Also, it seems others are unable to lock the computer using
Send("#l"). You can use this, instead (from this thread):