Results 1 to 7 of 7

Thread: What are the names of left, right, up and down arrow keys?

  1. #1
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What are the names of left, right, up and down arrow keys?

    Title says it all. I know you use like KeyDown(37) or whatever. Just wondering, which is up, which is down....etc.

    Thanks in advance

  2. #2
    Join Date
    Oct 2006
    Posts
    207
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    To press an arrow you use on of the arrow functions (SendArrowSilentWait, SendArrowWait, SendArrowSilent, SendArrow - you may need to check the names.. something like that). 0 is up, 1 is right, 2 is down, and 3 is left. For example SendArrowSilentWait(2, 300) would hold the down arrow for 300 ms

  3. #3
    Join Date
    Feb 2007
    Location
    USA
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    JAD, check out this ascii table. It might help in the future. The keycodes scar uses come from the Dec value, the column farthest to the left left.

    http://www.asciitable.com/

  4. #4
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by danrox2004 View Post
    To press an arrow you use on of the arrow functions (SendArrowSilentWait, SendArrowWait, SendArrowSilent, SendArrow - you may need to check the names.. something like that). 0 is up, 1 is right, 2 is down, and 3 is left. For example SendArrowSilentWait(2, 300) would hold the down arrow for 300 ms
    Can you just give me the names for the KeyDown things? I'm making my own custom function, and I have super top secret reasons for not being able to use that

    @Omg Thanks for that, just kind of confused me though..

  5. #5
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Try Looking here jad

    http://www.moparisthebest.com/smf/in...ic,2894.0.html

    As far as the arrows
    SCAR Code:
    Left Arrow - 37
    Up Arrow - 38
    Right Arrow - 39
    Down Arrow - 40

  6. #6
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes, I just found that 2 seconds before you posted that Thanks a lot for helping though mental

  7. #7
    Join Date
    Apr 2007
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well you can also call it the d-pad xD... nah, but those functions work too!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. text in the top left
    By takeout in forum OSR Help
    Replies: 3
    Last Post: 09-30-2007, 06:31 PM
  2. help with how to send arrow keys
    By rogue poser in forum OSR Help
    Replies: 4
    Last Post: 04-19-2007, 11:16 PM
  3. Arrow Key Names
    By R0b0t1 in forum OSR Help
    Replies: 5
    Last Post: 04-01-2007, 09:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •