avatar image

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

Login with username, password and session length
  • May 26, 2019, 04:50 PM
  • Proudly celebrating 13 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 2871 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 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,580
    • 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 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 PM by MilesAhead »