Hacker News new | ask | show | jobs
by pletnes 1501 days ago
It’s a great feature. It doesn’t always work 100% stable though. Would love to see it put further into the OS somehow. Macos key / modifier remaps are much more stable than powertoys’.
1 comments

Yeah, I've tried PowerToys a couple of times but always end up going to back to Autohotkey for this because it's just so much more consistent.
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?
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