Results 1 to 9 of 9

Thread: key codes

  1. #1
    Join Date
    Aug 2008
    Location
    !!LOL!!
    Posts
    247
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default key codes

    i would want to know how to press ctrl + x I couldn't workout how the char table works and could some one list the keys plz? thank you!

  2. #2
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey, its fairly easy to get the key codes. In the SCAR manual, use the numbers between &#..;

    Take that number for example for x it will be "& #120 ;" (without spaces) so take 120 and add it like this:
    SCAR Code:
    TypeByte(Chr(120));
    voila! thats it!

    Although I do not think there is a key code for CTRL ... I may be wrong.

  3. #3
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    program New;
    begin
      KeyDown(VK_CONTROL);
      Wait(20);
      KeyDown(120);
      Wait(20);
      KeyUp(120);
      KeyUp(VK_CONTROL);
    end.

  4. #4
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    haha see I AM wrong xD

  5. #5
    Join Date
    Aug 2008
    Location
    !!LOL!!
    Posts
    247
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thx guys, is there a list for key functions somewhere?

  6. #6
    Join Date
    Feb 2009
    Location
    Philipines
    Posts
    600
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Press CTRL + Space in Scar.

  7. #7
    Join Date
    Aug 2008
    Location
    !!LOL!!
    Posts
    247
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow that was a big list i just want it narrowed down to keys that have to do with keyboard

  8. #8
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Just type "VK_" and then press CTRL+Space
    Ce ne sont que des gueux


  9. #9
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    http://www.bsdg.org/SWAG/DELPHI/0234.PAS.html

    That's what I use, it's not completely accurate.

    ~Sandstorm

Thread Information

Users Browsing this Thread

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

Posting Permissions

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