Jump to content
disvsros

hold key down

Recommended Posts

hi i am trying to use this script on a vmware 

while 1 = 1
sleep(6000)
Send("{A down}")
Sleep(10050)
Send("{A up}")
Sleep(300)
WEnd 

but it send the A down like its :

Send("{A}")
Sleep(10050)

i mean it doesnt hold the key you know why it isn't holding the key?

Share this post


Link to post
Share on other sites

It doesn't work like pressing down  a keyboard key, which will start repeating itself when you do that.
You will have to program the repetition of the Send("A") yourself.

Jos

Share this post


Link to post
Share on other sites

@disvsros by "on a vmware" I am assuming you mean on a virtual machine. Are you running the script from inside the virtual machine or from the Host? What exactly are you trying to accomplish within the VM? We need a lot more explanation from you in order to help ;)


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

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

×
×
  • Create New...