Sign in to follow this  
Followers 0
Cyrect

Holding the Arrow keys.

7 posts in this topic

For the past few days I have been trying to find the command that holds the ^ < > keys or down that is.. I have been trying to find them forever I need to get them for my latest project. So I need a command that can hold the arrow keys for a certain number of seconds.

Share this post


Link to post
Share on other sites



Helpfile :

AutoIt --> Function Reference --> Keyboard Control -> .. ?

Share this post


Link to post
Share on other sites

For the past few days I have been trying to find the command that holds the ^ < > keys or down that is.. I have been trying to find them forever I need to get them for my latest project. So I need a command that can hold the arrow keys for a certain number of seconds.

Send ("{LEFT DOWN}")
Sleep (100)
Send ("{LEFT UP}")

Share this post


Link to post
Share on other sites

Helpfile :

AutoIt --> Function Reference --> Keyboard Control -> .. ?

Tried it I don't understand some of it I have tried the folowing pretty much...

Send("KeyDownDelay , 5000 , {DOWN}")

Send("KeyDelay , 5000 , {DOWN}")

Send("KeyDownDelay , {DOWN} , 5000

And a lot more I just don't remember them, but I remember that they didn't work.

Share this post


Link to post
Share on other sites

Send ("{LEFT DOWN}")
Sleep (100)
Send ("{LEFT UP}")
Thanks a bunch, I knew someone would know it(Probably most of the users here know it) But thanks anyways!.

Share this post


Link to post
Share on other sites

Tried it I don't understand some of it I have tried the folowing pretty much...

Send("KeyDownDelay , 5000 , {DOWN}")

Send("KeyDelay , 5000 , {DOWN}")

Send("KeyDownDelay , {DOWN} , 5000

And a lot more I just don't remember them, but I remember that they didn't work.

Since when had KeyDelay Been a key?

Maype you mean Opt ("SendKeyDelay", 5000)

Share this post


Link to post
Share on other sites

Since when had KeyDelay Been a key?

Maype you mean Opt ("SendKeyDelay", 5000)

No I mean if I wanted to scroll down on a page holding the down button, I want a script to do that for me. Only I'm using it in a game. Also I finally relised why my other tries did not work. It was actually simple, after I remember that you can have anymore that 1 command per line.

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