Valnurat Posted June 10, 2018 Posted June 10, 2018 (edited) Can you explain why my mouseclick don't work in my shockwave fullscreen. Quote #include <AutoItConstants.au3> Example() Func Example() Sleep(5000) Local $WindowTitle = "Adobe Flash Player" Local $WindowClass = "ShockwaveFlashFullScreen" WinActivate($WindowTitle) Sleep(100) MouseClick($MOUSE_CLICK_PRIMARY, 509, 629, 5) EndFunc ;==>Example I know my syntax is ok, because it moves to coordinates, but this will only press 1 time, even that I want to press 5 times. How can that be? Edited June 10, 2018 by Valnurat Yours sincerely Kenneth.
TheXman Posted June 10, 2018 Posted June 10, 2018 (edited) It could be a lot of reasons but one could be that the clicks are happening too fast to register. Look at the MouseClickDelay option to slow down the delay between mouse clicks to something more human-like. As it states, the default is 10 milliseconds. That means that all 5 of your clicks are being sent in about 50 milliseconds. Edited June 10, 2018 by TheXman CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman
Valnurat Posted June 13, 2018 Author Posted June 13, 2018 Does mouseclickdelay affect the speed of movement? Yours sincerely Kenneth.
TheXman Posted June 13, 2018 Posted June 13, 2018 12 minutes ago, Valnurat said: Does mouseclickdelay affect the speed of movement? Wow, REALY?!? You wait 3 days to reply and that's your question? The function is literally named mouseCLICKdelay and your question is whether it affects the speed of movement? The function is not named mouseMOVEdelay. What do you think? Look it up in the help file! While you're at it, take a look at my signature below. It is referring to questions like yours. CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman
Moderators JLogan3o13 Posted June 13, 2018 Moderators Posted June 13, 2018 @Valnurat, dog ate your help file? Look it up "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!
Valnurat Posted June 13, 2018 Author Posted June 13, 2018 17 minutes ago, TheXman said: Wow, REALY?!? You wait 3 days to reply and that's your question? The function is literally named mouseCLICKdelay and your question is whether it affects the speed of movement? The function is not named mouseMOVEdelay. What do you think? Look it up in the help file! While you're at it, take a look at my signature below. It is referring to questions like yours. Come on. Chillax. I have some other stuff to attend also. Yours sincerely Kenneth.
Moderators JLogan3o13 Posted June 13, 2018 Moderators Posted June 13, 2018 What are you trying to click in a Shockwave window, exactly? Most Shockwave apps would be games nowadays. "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!
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