Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Completely disable CapsLock


  • Please log in to reply
14 replies to this topic
n00ge
  • Members
  • 37 posts
  • Last active: Jul 20 2010 10:49 PM
  • Joined: 28 Sep 2007
Is there a way to completely disable CapsLock mode? I've already remapped CapsLock to another key, but if I accidentally press shift+capslock or some other key combo it still turns on caps lock. Any ideas?

emmanuel d
  • Members
  • 519 posts
  • Last active: Jul 15 2017 12:04 PM
  • Joined: 29 Jan 2009
Use this:
CapsLock::		; CapsLock
+CapsLock::	; Shift+CapsLock
!CapsLock::	; Alt+CapsLock
^CapsLock::		; Ctrl+CapsLock
#CapsLock::		; Win+CapsLock
^!CapsLock::	; Ctrl+Alt+CapsLock
^!#CapsLock::	; Ctrl+Alt+Win+CapsLock
;............	; You can add whatever you want to block
return			; Do nothing, return

Stopwatch emdkplayer
the code i post falls under the: WTFYW-WTFPL license

http://www.ahkscript.org/ the new forum


n00ge
  • Members
  • 37 posts
  • Last active: Jul 20 2010 10:49 PM
  • Joined: 28 Sep 2007
That works. Thanks.

  • Guests
  • Last active:
  • Joined: --
ehm...u can do:
SetCapsLockState, alwaysoff


emmanuel d
  • Members
  • 519 posts
  • Last active: Jul 15 2017 12:04 PM
  • Joined: 29 Jan 2009
Nice, how could i miss that :oops: :lol: :lol:
Especialy when i only want to use onliners. :wink:

Stopwatch emdkplayer
the code i post falls under the: WTFYW-WTFPL license

http://www.ahkscript.org/ the new forum


n00ge
  • Members
  • 37 posts
  • Last active: Jul 20 2010 10:49 PM
  • Joined: 28 Sep 2007
@Guest: That looks much cleaner, but doesn't seem to work. I did a search and it seems to need #InstallKeybdHook in the script. I also added that but it still didn't work.

  • Guests
  • Last active:
  • Joined: --
it works for me
u might want to check admin rights if u are on vista+

tomoe_uehara
  • Members
  • 2166 posts
  • Last active: Jun 11 2015 05:33 PM
  • Joined: 05 Sep 2009
Does this works?
*CapsLock::Return


None
  • Members
  • 3199 posts
  • Last active: Nov 05 2015 09:55 PM
  • Joined: 28 Nov 2009

*: Wildcard: Fire the hotkey even if extra modifiers are being held down.

*CapsLock::Return
Edit: He Beat me to it :(

tomoe_uehara
  • Members
  • 2166 posts
  • Last active: Jun 11 2015 05:33 PM
  • Joined: 05 Sep 2009
I mean, it shortens emmanuel d's code
; emmanuel d's code
CapsLock::      ; CapsLock
+CapsLock::   ; Shift+CapsLock
!CapsLock::   ; Alt+CapsLock
^CapsLock::      ; Ctrl+CapsLock
#CapsLock::      ; Win+CapsLock
^!CapsLock::   ; Ctrl+Alt+CapsLock
^!#CapsLock::   ; Ctrl+Alt+Win+CapsLock
;............   ; You can add whatever you want to block
return         ; Do nothing, return


tomoe_uehara
  • Members
  • 2166 posts
  • Last active: Jun 11 2015 05:33 PM
  • Joined: 05 Sep 2009

Edit: He Beat me to it

He calls me a he....
Posted Image

emmanuel d
  • Members
  • 519 posts
  • Last active: Jul 15 2017 12:04 PM
  • Joined: 29 Jan 2009
I am such a nOOb :lol: 8)
Nice to have all these posebilety's
Forgot all about *

Stopwatch emdkplayer
the code i post falls under the: WTFYW-WTFPL license

http://www.ahkscript.org/ the new forum


None
  • Members
  • 3199 posts
  • Last active: Nov 05 2015 09:55 PM
  • Joined: 28 Nov 2009
Sorry I was using "he" Genericaly would you prefer s/he, han, he/she, or tomoe_uehara :D

tomoe_uehara
  • Members
  • 2166 posts
  • Last active: Jun 11 2015 05:33 PM
  • Joined: 05 Sep 2009

I am such a nOOb

A newbie can't make emdkplayer =D

Don't worry None ^^


fred
  • Members
  • 263 posts
  • Last active: Oct 24 2013 02:02 PM
  • Joined: 01 Feb 2010

He calls me a he....

In the heat of a programming battle :)

I help with horses and they are mostly called he even if most of them are female because people don't notice the difference in name :) (and no, i don't call you a horse :))