masutsimon Posted June 12, 2017 Posted June 12, 2017 (edited) Hey, this is not the first time i come on this forum but i must recreate an account.. I ve searched for many hours why the mouse doesn t click when i write my script : HotKeySet("k", "Click1") HotKeySet("x", "_Exit") Global $X=56 Global $Y=143 opt("MouseClickDelay",15) opt("MouseClickDownDelay",15) opt("MouseClickDragDelay",250) Func Click1() Sleep(15) MouseClick ("left", $X, $Y,2,15) EndFunc While 1 Sleep(100) WEnd Func _Exit() Exit EndFunc This is a really easy script but i tried different version with double click, sleep, ... etc. The problem is come from the two devices, mouse and stylus which are incompatible with my script. If i only use my stylus, it moves the cursor to the location and doesn t click at all. If i move my mouse manually before pressing the "k" key, it works well. So stylus desactivate the left mouse click and i m really tired cause i spend a lot of time in it and i didn t find a solution. That s why i m asking some help here. Thank you. Notice in the past, i have already used a script and have success. Edited June 12, 2017 by JLogan3o13 Added Code Formatting
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