Nanaki 0 Posted April 5, 2005 Well, I want to hold down a key from the start of the program until it ends. Is it possible? Share this post Link to post Share on other sites
SlimShady 1 Posted April 5, 2005 Use the Send() function. For more info see the help file. Share this post Link to post Share on other sites
Nanaki 0 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. Share this post Link to post Share on other sites
CyberSlug 6 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! Share this post Link to post Share on other sites
Nanaki 0 Posted April 5, 2005 Holy crap, I've looked one hour at the help file to miss that? Tnx CyberSlug and SlimShady! ^^ Share this post Link to post Share on other sites