Jump to content

Recommended Posts

Posted (edited)

I just stumbled upon AutoIT while searching for a way to make a script for a game.

I wrote a bit of code, but I'm having trouble getting it to work:

Send("{LEFT}")

Send ("{LCTRL down}")

Sleep (5000)

Send ("{LCTRL up}")

Here's a snippet. Basically, it's not holding left-ctrl. It's only pressing it once. I read that this is a problem for letter keys, but I thought that it worked fine for control, shift, etc.

Holding down arrow keys is working though.

Any tips as to what I'm doing wrong?

Edit: I'm trying to nest Down-Up Pairs. Is that okay?

Edited by KingofKirby

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...