Results 1 to 3 of 3

Thread: Pressing SHIFT.

  1. #1
    Join Date
    Sep 2007
    Location
    Bikini Bottom
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Pressing SHIFT.

    Yes, well, I happen to need to be able to press SHIFT in a script. Is this even possible? And if so, how?

    EDIT:
    To clarify, I need to be able to press down and HOLD the button whilst sending a chr(13) command, to simulate the SHIFT+ENTER thing.
    Last edited by Maninblack144; 04-11-2009 at 03:44 PM.

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    KeyDown(VK_SHIFT);
    wait(10);
    KeyDown(VK_RETURN);
    wait(10);
    KeyUp(VK_RETURN);
    wait(10);
    KeyUp(VK_SHIFT);

    That should press and hold shift while pressing the return (or enter) key.

  3. #3
    Join Date
    Sep 2007
    Location
    Bikini Bottom
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

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
  •