Jump to content

Any key?


Recommended Posts

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...