Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • April 27, 2017, 08:03:11 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Mapping Capslock key to Middle Button Mouse Click  (Read 2489 times)


  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 3
    • View Profile
    • Donate to Member
Mapping Capslock key to Middle Button Mouse Click
« on: October 24, 2010, 04:34:42 PM »
I was wondering if anybody could create a simple .exe file that could map the CapsLock button to the Middle Click Button on a mouse.

CapsLock could then be enabled with Shift + Capslock.

Thanks in advance.

I am using this for my laptop.


  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,447
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: Mapping Capslock key to Middle Button Mouse Click
« Reply #1 on: October 26, 2010, 06:11:51 PM »
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


The AutoHotKey download has a tool to compile the script to exe.  You can select a program icon other than the default green H if you like.

« Last Edit: October 26, 2010, 08:37:40 PM by MilesAhead »