Monday, January 16, 2012

Mouse Auto Clicker using Auto Hotkey

Do you ever encounter a situation where you need to repeatedly click the mouse button? Fret not cos Auto Hotkey can be programmed to suit all your needs. You can download the software from the author website or alternatively from link after the break (consists of installer+sample script+compiled script).


Download file: click HERE

Extract the archive and inside got 3 files:

1. Installer: Self-explanatory
2. Sample script (sample.ahk). The script:

Ins::Suspend
$CapsLock::Suspend
LButton::
Loop
{
SetMouseDelay 50
Click
If (GetKeyState("LButton","P")=0)
Break
}

What the script does is:
    -activate using keyboard 'Insert' button
    -continuously click when left mouse button is pressed at speed of 50 milliseconds between each clicks!
    -deactivate by pressing 'Insert' once again

3. Executable file (sample.exe): The compiled script. Double click to run.

Note:
#to program new macro, firstly install the Auto Hotkey. Then create new text file and rename it as .ahk. Write the coding and compile the script. Run the executable file.

No comments:

Post a Comment

Your comment is much appreciated. Thanks :)