Jump to content

Holding the Arrow keys.


Recommended Posts

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.

Link to comment
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}")
Link to comment
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.

Link to comment
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)

Link to comment
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.

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...