Created
September 3, 2013 01:27
-
-
Save ysheng26/6418744 to your computer and use it in GitHub Desktop.
AutoHotKey script to assign capslock to ctrl. It is optional to remap capslock to either left ctrl or right ctrl.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; AutoHotkey Version: 1.x | |
; Language: English | |
; Platform: Win9x/NT | |
; Author: William Isaac Miller <wimiller@cs.umb.edu> | |
; | |
; Script Function: | |
; Remaps the CapsLock key to Control, and moves CapsLock to Right Control. | |
; | |
;;; Default script settings | |
#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. | |
;;; Remap CapsLock to Control. | |
CapsLock::Control | |
;;; Move CapsLock to either Right Control or Left Control. | |
; LControl::CapsLock | |
; RControl::CapsLock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment