doing something based on mouse clicks

Status
Not open for further replies.

BrianD

Distinguished member
Joined
Sep 15, 2009
Messages
415
Reason
PALS
Diagnosis
08/2009
Country
US
State
Colorado
City
Colorado Springs
One of the other threads for the user "lostin" made me think that it might be helpful if there was a way to play a sound or something based on a certain number of mouse clicks within a handful of seconds. So I went ahead and came up with a way to do that.

Attached is a script for the program AutoHotkey. When this is running, if you click the right mouse button 3 times within 3 seconds, it will play a wave file. It's very easy to modify it to be different numbers of mouse clicks or seconds.
It does need to be modified for each person to specify the pathname to the wave file they want to play.
(You could modify this to do other things besides play a wave file as well.)

The file attached is MouseTrigger.txt, but would need to be renamed to MouseTrigger.ahk.

This may be too technical of a topic, but I at least wanted to put something on for that other thread.

Brian
 

Attachments

  • MouseTrigger.txt
    1.2 KB · Views: 232
so thoughtful Brian!
 
Status
Not open for further replies.
Back
Top