Sign in to follow this  
Followers 0
Fireality

Why doesn't my mouseclick script end when I tell it to?

7 posts in this topic

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

Share this post


Link to post
Share on other sites



I think it ends after 3 seconds... muttley

I have 3 seconds to hit Esc, then it clicks a zillion times

What I want is for whenever I hit the "Home" button, for it to kill the process

Don't understand why it's not doing that :/

Enter it in autoit and see for yourself

and thanks for the reply!

Share this post


Link to post
Share on other sites

Anyone? muttley Really need this to work

Share this post


Link to post
Share on other sites

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!


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0