Sign in to follow this  
Followers 0
Popeye1

Holding down the downarrow key for a few seconds.

6 posts in this topic

I would like something nice and simple, I just want a part of my script to push and hold the down arrow key for a few seconds. Could someone show me how to do this? I used search but some of the results are a little complicated.

Share this post


Link to post
Share on other sites



Try looking at Send() in the help file, that should get you started.


[right]~What can I say, I'm a Simplistic person[/right]

Share this post


Link to post
Share on other sites

Send("{a down}") ;Holds the A key down

Sleep(1000); holds down the key for one sec

Send("{a up}") ;Releases the A key

Share this post


Link to post
Share on other sites

Yeah I got that bit now, but what do I type to refer to the downward pointing arrow key? I can't figure out what to type to press it.

Share this post


Link to post
Share on other sites

{DOWN} instead of {a}

Share this post


Link to post
Share on other sites

Yeah I got that bit now, but what do I type to refer to the downward pointing arrow key? I can't figure out what to type to press it.

Nevermind i got it, DOWN for down.

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