Sign in to follow this  
Followers 0
Awwe

While key is pressed

3 posts in this topic

This is what I'm trying to do :

While keyispressed("{end}")

randomfunction()

wend

Keyispressed is not a real function, but I'm looking for something like that. I want x to happen while key y is held down.

Is there a function like that ?

Share this post


Link to post
Share on other sites



Here's what you should do in such cases -

open Autoit Help, go to Search tab, type in "key pressed".

First match of the search - function _IsPressed()


"be smart, drink your wine"

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Look up _IsPressed.

Edited by Orgins

I'm a newbie.Sorry if I don't reposed to your replays very fast.

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  
Followers 0