Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know a way to configure Windows 7 or use third party software to do this? I would like to click my middle mouse button and have it tell Windows to left click and hold until I click the middle mouse button again. A keyboard key would be fine as well.

Some games and apps have me holding down the left mouse button for a long time and I would like to reduce the stress on my mouse hand. Also, I would like to do a similar thing but have it repeatedly click the left mouse button automatically if possible.

If none of that is possible, how about temporalily setting a keyboard key to achieve a left mouse button emulation?

share|improve this question
1  
this may be built into Windows- windows.microsoft.com/en-GB/windows7/… -I can't check on this machine (so haven't made this an answer) but I'm sure the option to click on click off existed for users with difficulties using mice – BrianA Dec 8 '11 at 9:29
up vote 8 down vote accepted

you can create all your custom keyboard shortcuts using autohotkey. Autohotkey is a free open source software for macro and key binds.

http://www.autohotkey.com/

share|improve this answer
4  
It would have been better to provide an actual script to do it. – Synetech Oct 1 '12 at 3:29
    
Script for autohotkey that binds a keyboard shortcut to a mouse click: superuser.com/a/913791/295795 – abaldwin99 Mar 17 at 13:19

Here's the autohotkey script that will bind a keyboard shortcut (CTRL + g) to a mouse click.

^g::
click

Save this in notepad with the file extension .ahk then compile with autohotkeys. To compile autohotkeys scripts you will need to download it here:

http://www.autohotkey.com/

Also You can replace the key g with any letter to change the trigger key. To change from CTRL to ALT replace the ^ with !. For a complete list of symbols defining hotkeys see this documentation...

https://www.autohotkey.com/docs/Hotkeys.htm

share|improve this answer

I've been using this one & setting a key for left click. Set it to hold the key & click from 0-9999 clicks/second

http://sourceforge.net/projects/fastclicker/

share|improve this answer

Try a combination of:

a) mouse click emulating software (e.g. http://softboy.net/key/index.htm )

and

b) macro editor (e.g. http://robotask.com/ ).

share|improve this answer

Autohotkey script for mapping a key to left mouse button (and hold while keeping key pressed), if key combined with SHIFT, the right mouse button will be clicked instead of the left. I used the `

`::  ;backtick (tilde) key
click Down left ;click left mousebutton and hold
keywait,`` ; wait until key is released. Double backtick because backtick needs to be escaped (with a backtick)
click Up left ; release left mousebutton
return

^`::  ;backtick (tilde) key
click Down right ;click left mousebutton and hold
keywait, ^` ; wait until key is released. 
click Up right ; release left mousebutton
return
share|improve this answer

MouseKeys is built into windows XP and higher.

Step 1 Turn on MouseKeys in Windows XP by pressing “Left-Alt, "Left-Shift" and "NumLock” simultaneously. Press “Enter” to select “Yes” in the dialog box that appears to activate MouseKeys.

Step 2 Move the mouse pointer left and right by pressing “4” and “6” on the numeric keypad. Press “8” and “2” to move the pointer up or down. The “1”, “3”, “7” and “9” keys move the mouse pointer diagonally.

Step 3 Simulate a left mouse click by pressing “5." Press “+” to double-click. Press “-“ and then “5” to right-click.

Step 4 Drag and drop by moving the mouse with the numeric keypad. Press “Insert” to simulate holding down the mouse button, and then press the “Delete” key to release.

share|improve this answer

Just found this one, very helpful:

http://rhdesigns.browseto.org/mouseemulator.html

"Mouse Emulator" This program is freeware. If you really like this program, and want to make a donation, please go to the website for more information. Thank you.

The program runs under windows NT/9x and above.

Manual

The program recognizes the following keys: (NumLock must be ON!) Keypad 1 - Left mouse button

Keypad 2 - Right mouse button

Keypad 3 - Middle mouse button

Keypad 4, 5, 6, 8 - Moves the mouse left, down, right or up respectively.

Keypad 7 - Mousewheel up (Scroll)

Keypad 9 - Mousewheel down (Scroll)

Keypad / - Toggle Left mouse button (Useful for RSI users)

Keypad * - Toggle Right mouse button (Useful for RSI users)

Keypad - - Toggle Middle mouse button (Useful for RSI users)

Ctrl + Keypad 0 - Enable/Disable Mouse emulator

You can exit Mouse Emulator by right clicking on the mouse icon in the taskbar.

Adjusting the mouse speed: Double click on one of the .reg files and restart the program to change the mouse speed. For instance double-click on SlowMouseSpeed.reg and restart the program if you think the mouse speed of mouse emulator is too high.

For advanced users: If you want to adjust the mouse speed, you can use regedit to change the registry values.

Known Problems: Mouse Emulator does not work with MS-Dos prompts (9x) Mouse Emulator does not work with DirectX Mouse Input (DirectInput)

share|improve this answer

There is a brilliant free open source successor of project fastclicker resides at sourceforge too. It is called "The Windows Intel Fastest Mouse Clicker" (google it). That application uses modern SendInput() system call instead of obsolete mouse_event() in fastclicker. Also "The Windows Intel Fastest Mouse Clicker" is heavily optimized with Intel C/C++ compiler 15.0.

https://sourceforge.net/projects/fast-mouse-clicker-pro/

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .