Sign in to follow this  
Followers 0
maniootek

while key is holded do...

4 posts in this topic

I can't find in function list something like that:

while key("ctrl") is holded

...

wend

I mean I would do my program to run something only when any key is holded.

Is it possible? If it's then please tell me how.

Share this post


Link to post
Share on other sites



In the Autoit UDF help file, look up _IsPressed. Use that in a While loop.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Thank you very much.

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