quick question

Discussion in 'Code Snippets and Tutorials' started by ceneret0023, Aug 18, 2007.

  1. ceneret0023

    ceneret0023 Level III

    Joined:
    Jun 10, 2007
    Messages:
    663
    Likes Received:
    15
    Location:
    under a rock
    does anybody have a list of what you would put in between 'Sendkeys()' if you wanted to do stuff like tab or F5.... if there's a list out there that would be nice thx
     
  2. planetpluto

    planetpluto Level I

    Joined:
    Aug 17, 2007
    Messages:
    53
    Likes Received:
    0
    Location:
    Toronto, Canada
    I think these are them, post back if they work. If you need numberpad and/or the numbers above letters I have those too but this post was getting too long.
    Edit: Whoops I just 2 month bumped this, sorry. Hopefully the information is still useful.

    Function keys
    • F1 - 112
      F2 - 113
      F3 - 114
      F4 - 115
      F5 - 116
      F6 - 117
      F7 - 118
      F8 - 119
      F9 - 120
      F10 - 121
      F11 - 122
      F12 - 123
      F13 - 124
      F14 - 125
      F15 - 126

    Misc Keys
    • Backspace - 8
      Tab - 9
      Clear - 12
      Enter - 13
      Shift - 16
      Control - 17
      Alt - 18
      Capslock - 20
      Escape - 27
      Spacebar - 32
      PageUp - 33
      PageDown - 34
      End - 35
      Home - 36
      Left Arrow - 37
      Up Arrow - 38
      Right Arrow - 39
      Down Arrow - 40
      PrintScreen - 44
      Insert - 45
      Delete - 46
      Help - 47
      "Start" Key (usually has windows logo) - 92
      Numberlock - 144
      Semi-Colon / Colon - 186
      Equals / Plus - 187
      Minus / Underscore - 189
      Forward Slash / Question Mark - 191
      Apostrophe / Tilde - 192
      Open Bracket / Open Brace - 219
      Backslash / Seperator - 220
      Close Bracket / Close Brace - 221
      Quote Key - 222
     
  3. ceneret0023

    ceneret0023 Level III

    Joined:
    Jun 10, 2007
    Messages:
    663
    Likes Received:
    15
    Location:
    under a rock
    ok thx but if i put this in the sendkeys() won't it show up as like 222 or something? or is it just that simple? i kinda forgot XD and my scar didn't come with the thing that tells you all the commands so i'm kinda at a disadvantage
     
  4. chelsea1

    chelsea1 Level IV

    Joined:
    Nov 26, 2006
    Messages:
    2,538
    Likes Received:
    31
    Location:
    London
    not it won't come out as 222
    Code (Text):
    1. <div class="text" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">&nbsp;</li><li style="padding: 0 5px; background-color: #f9f9f9; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">sendkeys(222); // will press whatever key this is</li><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">sendkeys('222'); // will send keys "222"</li><li style="padding: 0 5px; background-color: #f9f9f9; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">&nbsp;</li></ol></div>
     
  5. ceneret0023

    ceneret0023 Level III

    Joined:
    Jun 10, 2007
    Messages:
    663
    Likes Received:
    15
    Location:
    under a rock
    oh ok thx chelsea

    edit: just another quick question or 2.... but does anybody have an autologing script for scar? and if so can i use it?