Remap Capslock to F24

Get help with using AutoHotkey and its commands and hotkeys
Posts: 17
Joined: 18 Jan 2017, 18:38

Remap Capslock to F24

17 Mar 2017, 21:40

I have a program which will include quite a lot of hotkeys. I am trying not to interfere with hotkeys from other programs. I found a post which showed how to map the caps lock to a hyperkey (ctrl-alt-shift-win). From Here I can !^+#a:: code, etc. This does pretty well for me, but I was thinking Capslock to F24 would be sure to avoid conflicts, however attempting to modify the code did not work.

Code: Select all

  SetKeyDelay -1
  Send {Blind}{Ctrl DownTemp}{Alt DownTemp}{Shift DownTemp}{LWin DownTemp}

*CapsLock up::
  SetKeyDelay -1
  Send {Blind}{Ctrl Up}{Alt Up}{Shift Up}{LWin Up}

!^+#a:: tooltip Hyper-%A_ThisHotkey%
Posts: 297
Joined: 05 Feb 2017, 00:03

Re: Remap Capslock to F24

17 Mar 2017, 23:31

Use Input level to accomplish what you want.

Code: Select all

#InputLevel 1
#InputLevel 0
F24 & a::tooltip, Hyper-%A_ThisHotkey%

Return to “Ask For Help”

Who is online

Users browsing this forum: Epialis, Flipeador, Google [Bot], stiuna, Waldorine and 38 guests