topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday December 11, 2024, 5:34 pm
  • Proudly celebrating 15+ 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 4049 times)

jbullfrog

  • 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.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • 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.

+CapsLock::CapsLock
CapsLock::MButton

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 »