Results 1 to 8 of 8

Thread: Function Keys

  1. #1
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default Function Keys

    How do I make SRL push the function keys bro?

  2. #2
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    KeyDown(VK_F1);?

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Any ones in SRL that do it humanlike?
    Or should I just
    KeyDown(VK_F1)
    Wait(How Long Do Humans Hold?);
    KeyDUp(VK_F1);

    How long should I make the wait?

  4. #4
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Any ones in SRL that do it humanlike?
    Or should I just
    KeyDown(VK_F1)
    Wait(How Long Do Humans Hold?);
    KeyDUp(VK_F1);

    How long should I make the wait?
    For the length, I'd look at SendKeysEx and see what the wait time is, and use about 1/2 - 2/3 of that length. But yeah, pretty much like that.

  5. #5
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    TomTuff, I was going to use same wait as SendKeys, but yea thanks that works.

  6. #6
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Can't find SendKeysEx... :/
    Anyone suggest a wait I should put between KeyDown and KeyUp?

  7. #7
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

  8. #8
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    I found the TypeSend function, all good now, thanks!

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
  •