I need a macro to enable/disable sticky keys. I use SK a few times a week, and hitting shift five times is easy, but sometimes my iMac boots up without the “five times” box checked. So even if I had a macro to enable the 5Xshift feature, that would be great.
But I also need an instruction to stay on the screen as long as SK is on saying how to turn it off. My wife is not on board with SK, and if I leave the computer with SK on and she needs to look something up, she is driven crazy. Thanks for helping. I’ve constructed a lot of great macros with KM but am not getting anywhere with my attempts at this.
I would like to do the same thing with Mouse Keys, but I don’t use that as much, so I have the 5Xoption feature turned off (it was driving me crazy).
Tom, this is beautiful–thank you. I thought I was going to have to write it step-by-step following your template, but I just downloaded it, imported it, and it works perfectly. I’ve also learned a thing or two about how versatile palettes can be (I’d been meaning to start using them, and this is a perfect time.
I still am looking for a way to turn on SK even if the checkbox in the Accessibility pane of System Pref is unchecked (I have no idea how it gets unchecked sometimes).
This indeed works, but the non-negligible downside is that it has no (immediate) effect. You probably have to restart a specific background process to make the change effective. Unfortunately I don’t know which. (I’ve tried it with killall Dock; killall SystemUIServer; killall cfprefsd but to no avail.)
Maybe somebody else know…
The other possibility of course is UI scripting. But simply pressing Shift five times seems more elegant to me than launching a clunky UI script.