Hacker News new | ask | show | jobs
by pletnes 1500 days ago
I tend to remap caps to ctrl, for instance. Sometimes this fails, meaning that suddenly, the keyboard is stuck in caps lock mode and can’t be returned to «lower caps mode». I don’t know if autohotkey can intercept caps lock?
1 comments

Absolutely, that's actually what exactly what I use it for. The only time it can be a little wonky is when RDP'ing to remote servers.

  #SingleInstance force
  if not A_IsAdmin
   Run \*RunAs "%A_ScriptFullPath%" ;
  LControl::Capslock
  Capslock::Control