Jump to content

Wait for a key to be pressed


Recommended Posts

Hi, I wanted to know if there was a way to ask the program to wait until a certain key is pressed before to continue ( without using hot keys). And if the only way is to use Hot key...someone could point me out how to do this cause it seems like I'm not able to do that

Thanks

Link to comment
Share on other sites

  • Moderators

Hi, I wanted to know if there was a way to ask the program to wait until a certain key is pressed before to continue ( without using hot keys). And if the only way is to use Hot key...someone could point me out how to do this cause it seems like I'm not able to do that

Thanks

There's an example TogglePause() under HotKeySet() that should explain how to do what your asking. If that's not it, then you need to be ALOT more specific. Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Hi, I wanted to know if there was a way to ask the program to wait until a certain key is pressed before to continue ( without using hot keys). And if the only way is to use Hot key...someone could point me out how to do this cause it seems like I'm not able to do that

Thanks

_isPressed()?

[font="Impact"] I always thought dogs laid eggs, and I learned something today. [/font]
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...