disvsros Posted December 10, 2015 Posted December 10, 2015 hi i am trying to use this script on a vmware while 1 = 1sleep(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?
Developers Jos Posted December 10, 2015 Developers Posted December 10, 2015 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 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
disvsros Posted December 10, 2015 Author Posted December 10, 2015 i see but without the vmware it works the a down
Developers Jos Posted December 10, 2015 Developers Posted December 10, 2015 Good to know, so it isn't an AutoIt3 issue. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Moderators JLogan3o13 Posted December 10, 2015 Moderators Posted December 10, 2015 @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!
aa2zz6 Posted December 10, 2015 Posted December 10, 2015 Here is a link to a similar question and a few answers for this problem. https://www.autoitscript.com/forum/topic/13338-how-to-hold-a-button-indefinately/Let us know if you have any questions.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now