Author Topic: autohotkey help  (Read 1323 times)

0 Members and 1 Guest are viewing this topic.

Offline Jixr

  • Thread Starter
  • Posts: 864
  • Location: Austin Tx
autohotkey help
« on: Mon, 17 August 2015, 17:08:05 »
Hi AHK peeps, I need help trying to figure out how to accomplish this.

I want my caps lock key to only work when its pressed and held down.
( similar to how a shift key would work )

Not sure how/if I could accomplish this with AHK

Offline Tactile

  • Posts: 1433
  • Location: Portland, OR
Re: autohotkey help
« Reply #1 on: Mon, 17 August 2015, 19:52:26 »
This might help...

http://www.autohotkey.com/board/topic/37117-shift-capslock-remapping-problem/

It looks like,to do what you want, you only need the line:

$Capslock::LShift
REΛLFORCE

Offline Jixr

  • Thread Starter
  • Posts: 864
  • Location: Austin Tx
Re: autohotkey help
« Reply #2 on: Mon, 17 August 2015, 19:56:09 »
capslock::lshift wont work since number inputs would be symbols.

Using an mx lock as my caps lock key.

Though this script works perfectly

capslock::
setcapslockstate on
keywait capslock
setcapslockstate off
return