Results 1 to 2 of 2

Thread: Hold Key

  1. #1
    Join Date
    Sep 2007
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Hold Key

    ok i learned the stupid send key or press key command but i am curious on how to make it hold the key for say 1000 mileseconds then stop do somthing with the mouse then press and hold another button for 200 milesconds any suggestions

  2. #2
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    SCAR Code:
    KeyDown(VK_SPACE);
    Wait(1000);
    KeyUp(VK_SPACE);

    Keydown holds the key down and key up basically takes its finger on space.

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 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
  •