Jump to content
Sign in to follow this  
Nanaki

Holding down a key during runtime

Recommended Posts

No kidding. :D

No, I want to start holding a key when the script starts. And I want to release that same key when the scripts ends. Like SHIFT is hold throughout the runtime. :)

Share this post


Link to post
Share on other sites

From the help file:

To hold a key down (generally only useful for games)
    Send("{a down}");Holds the A key down
    Send("{a up}");Releases the A key

Since you didn't specify which key you want, so you need to adjust that example.


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...