Results 1 to 5 of 5

Thread: How to make it hold down

  1. #1
    Join Date
    Dec 2008
    Location
    Guam
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to make it hold down

    SCAR Code:
    program sdown;
     procedure sdown;

     begin
      KeyDown(83);
       wait(2000);
      KeyUp(83);
     end;

     begin
      repeat sdown;
       until(false)
        end.

    Does anyone know how to make it hold S down?

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Check out this page for a list of keycodes. To hold down s, you could do:

    SCAR Code:
    KeyDown(83);
    Wait(500);
    KeyUp(83);
    :-)

  3. #3
    Join Date
    Dec 2008
    Location
    Guam
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default err

    I thought that's what I did. It doesn't hold it down though.

  4. #4
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    It holds it down for me just fine (though it only types it in once in the target window). Make sure that you have targeted the correct window using the crosshairs button in SCAR.
    :-)

  5. #5
    Join Date
    Dec 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It works for me just fine..try doublechecking the rest of the script, maybe something else is keep it from holding it down.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. hold key?
    By nielskool in forum OSR Help
    Replies: 11
    Last Post: 02-08-2009, 05:19 AM
  2. Hold Key
    By bmbm873 in forum OSR Help
    Replies: 1
    Last Post: 11-23-2008, 08:43 AM
  3. Hold Key Down
    By jeremywilms in forum OSR Help
    Replies: 4
    Last Post: 04-24-2007, 01:52 AM

Posting Permissions

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