ladvace Posted September 5, 2019 Posted September 5, 2019 I need to click (just mouseDown) on a button and than move the mouse and hold down for a while, I tried like this but it doesn't work. MouseClickDrag("", x1, y1, x2, y2) Sleep(time); the mouse down is release before the sleep but i need to hold down all the sleep time
Moderators JLogan3o13 Posted September 5, 2019 Moderators Posted September 5, 2019 @ladvace welcome to the forum. If you're clicking on a button, why bother with the MouseClickDrag rather than ControlClick or another more stable method? If you can explain exactly what you are trying to accomplish, there is probably a ready-made solution for it already. "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!
ladvace Posted September 6, 2019 Author Posted September 6, 2019 I tried also to MouseDown and the move but it didn't work, the drag seems to be the closest solution btw, thank you
Moderators JLogan3o13 Posted September 6, 2019 Moderators Posted September 6, 2019 You still didn't answer the question. It is difficult to assist without understanding just what you're trying to accomplish. It is not surprising it is not working for you; there are better ways. "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