Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Does AutoHotKey work with Arrow Keys?


  • Please log in to reply
3 replies to this topic
  • Guests
  • Last active:
  • Joined: --
well the subject tells it all. just wondering if yu could use arrow keys for auto hot key and if yu can could yu show me how to make a loop of down arrow key and z?

Leef_me
  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009
Yes, AutoHotkey works with arrows, both as hotkeys and as characters to be sent.
Unfortunately, your request is too vague to answer with a script.

Since you haven't seen them, I am providing links to the 2 tutorials that are available.
Please work through at least the first to get an understanding of how scripts are arranged and the terminology that is used.

<!-- m -->http://www.autohotke...cs/Tutorial.htm<!-- m -->
<!-- l --><a class="postlink-local" href="http://www.autohotkey.com/community/viewtopic.php?f=1&t=47791">viewtopic.php?f=1&t=47791</a><!-- l -->

These 3 links are related to your question, please read them through and try the examples.

<!-- m -->http://www.autohotke...ocs/Hotkeys.htm<!-- m -->
<!-- m -->http://www.autohotke...ocs/KeyList.htm<!-- m -->
<!-- m -->http://www.autohotke...mmands/Send.htm<!-- m -->

  • Guests
  • Last active:
  • Joined: --
So if i were to make a loop doing "Down z, Down z, Down z..." and so forth, would it look like this?

Lalt::
loop 1000
{down
sleep 1000
z
sleep 900
}

Lalt::pause

Spawnova
  • Members
  • 279 posts
  • Last active: Dec 22 2015 03:07 AM
  • Joined: 29 Jun 2011
Lalt::

loop

{

send {down}

sleep 1000

send z

sleep 900

}



Ralt::pause