Jump to content

Recommended Posts

Posted

hi, I want the Shift key to be pressed for a defined period of time. For this, I am using this (test)script:

Send("{LSHIFT down}") 
  sleep(1000)  
  Send("{LSHIFT up}")
  sleep(50)
  EXIT

But after the script is turned off or whatever the Shift key is still pressed.

The LSHIFT (or RSHIFT) up doesn't seem to work (the same for the ALT key)

How can I fix it ?

thx

Posted

hi, I want the Shift key to be pressed for a defined period of time. For this, I am using this (test)script:

Send("{LSHIFT down}") 
  sleep(1000)  
  Send("{LSHIFT up}")
  sleep(50)
  EXIT

But after the script is turned off or whatever the Shift key is still pressed.

The LSHIFT (or RSHIFT) up doesn't seem to work (the same for the ALT key)

How can I fix it ?

thx

try this

Send("{SHIFTDOWN}") 
  sleep(1000)  
  Send("{SHIFTUP}")
  sleep(50)
  EXIT
Posted (edited)

hm, this doesnt work either...

The Shift Button is still pressed after SHIFTUP

I have the same problem with ALT, too

Edited by Pfaeff
Posted

sticky keys is off, but i'll try a bit :)

I found a little workaround, but its not very nice :P I wrote a little program wich uses keyb_event to release the shift key every 50ms and for

"holding" the key, i made a little loop.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...