Fireality Posted July 13, 2008 Posted July 13, 2008 HotKeySet ("{Esc}", "clicker") HotKeySet ("{Home}", "terminate") Sleep(3000) Func clicker() $pos = MouseGetPos() MouseClick("left", $pos[0], $pos[1], 10000, 0) EndFunc Func terminate() Exit EndFunc
Developers Jos Posted July 13, 2008 Developers Posted July 13, 2008 I think it ends after 3 seconds... muttley 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.
Fireality Posted July 13, 2008 Author Posted July 13, 2008 I think it ends after 3 seconds... muttleyI have 3 seconds to hit Esc, then it clicks a zillion timesWhat I want is for whenever I hit the "Home" button, for it to kill the processDon't understand why it's not doing that :/Enter it in autoit and see for yourself and thanks for the reply!
cppman Posted July 13, 2008 Posted July 13, 2008 (edited) HotKeySet ("{Esc}", "clicker") HotKeySet ("{Home}", "terminate") Sleep(3000) Func clicker() $pos = MouseGetPos() For $i = 0 to 10000 MouseClick("left", $pos[0], $pos[1], 1, 1) Next EndFunc Func terminate() Exit EndFunc Edited July 13, 2008 by cppman Miva OS Project
Fireality Posted July 13, 2008 Author Posted July 13, 2008 HotKeySet ("{Esc}", "clicker") HotKeySet ("{Home}", "terminate") Sleep(3000) Func clicker() $pos = MouseGetPos() For $i = 0 to 10000 MouseClick("left", $pos[0], $pos[1], 1, 1) Next EndFunc Func terminate() Exit EndFunc You rule muttley thanks a zillion!
Developers Jos Posted July 13, 2008 Developers Posted July 13, 2008 Anyone? muttley Really need this to work@Fireality, this is the second time I write this today: You do not bump your thread within 10 minute nor within a day.It cannot be that your question is that urgent unless your house is burning down! 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
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