Jump to content
Sign in to follow this  
Popeye1

Holding down the downarrow key for a few seconds.

Recommended Posts

Popeye1

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
toonboon

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
Pain

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
Popeye1

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
Popeye1

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.