Torvig1 Posted May 15, 2018 Posted May 15, 2018 I made this script for a game I play, What it does is when i hold down LButton it will click very fast and when I release LButton It stops clicking. But instead of looping it just clicks once, I have tried removing GetKeyState, state, LButton, P And it will work how i want it to but when I release LButton It keeps clicking. Here is the script Loop { GetKeyState, state, LButton, P if state = D Loop { Click, 1 GetKeyState, state, LButton, P if state = U Break } } esc:: ExitApp Can anyone help?
Developers Jos Posted May 15, 2018 Developers Posted May 15, 2018 (edited) @Torvig1, Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. (there is also a link in my signature) Please read them now particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. On top of that: The posted script isn't AutoIt3! See you soon with a legitimate question I hope. Jos Edited May 15, 2018 by 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.
Recommended Posts