Jump to content
Sign in to follow this  
yalag

What function to call to hold a key for X seconds?

Recommended Posts

yalag

Which function should I call to hold a key for X seconds?

Thanks

Share this post


Link to post
Share on other sites
Glyph

Send("{a down}") ;Holds the A key down
Sleep(x seconds)
Send("{a up}") ;Releases the A key

:P

Edited by backstabbed

tolle indicium

Share this post


Link to post
Share on other sites
Helge

- "Ok, I want to hold down a key on my keyboard..how to do that ?"

Helpfile -> Function Reference -> Keyboard Control -> ...

Logic and not really that hard to find..

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  

×