Nanaki Posted April 5, 2005 Share Posted April 5, 2005 Well, I want to hold down a key from the start of the program until it ends. Is it possible? Link to comment Share on other sites More sharing options...
SlimShady Posted April 5, 2005 Share Posted April 5, 2005 Use the Send() function. For more info see the help file. Link to comment Share on other sites More sharing options...
Nanaki Posted April 5, 2005 Author Share Posted April 5, 2005 No kidding. 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. Link to comment Share on other sites More sharing options...
CyberSlug Posted April 5, 2005 Share Posted April 5, 2005 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! Link to comment Share on other sites More sharing options...
Nanaki Posted April 5, 2005 Author Share Posted April 5, 2005 Holy crap, I've looked one hour at the help file to miss that? Tnx CyberSlug and SlimShady! ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now