Sign in to follow this  
Followers 0
Dryden

Any key?

3 posts in this topic

#1 ·  Posted (edited)

Hi! anyone knows how to wait for any key??

For example:

HotKeySet("{ESC}", "Exit")

ho do I make it run exit function no matter what key is pressed? Do I have to do Hot key sets to all keys? :S

EDIT:

It doesn't need to be a hotkeyset.

It can be something that would pause the script and resume it when a key is pressed.

I was tring to use _IsPressed, but I don't think that there's a key that means all keys... :S

Edited by Dryden

"Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." - Terry Pratchett.

Share this post


Link to post
Share on other sites



that's genious... so simple... thx :whistle:


"Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." - Terry Pratchett.

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