Nope, I tried removing the s
and adding delayUntil 200
as the fourth line (between the write
and the releaseKey
) and it didnāt work. I also tried extending the delay, just in case that helped but 2000
and then 20000
made no difference (and Iām sure itās running, because with the longer delay I can visually watch the input source icon changing).
Iāll have access to an alternate macOS machine with a different OS next week. Iāll try it out there and see if the same thing happens.
If you have time, Iād be interested in understanding what the s
actually does and how it compares (in theory) to the delayuntil
. Iām not sure I really understand the Reference Manual because my reading of that is that the D
that the write
sends should āreleaseā the sticky
modifier, although perhaps it actually holds until the 2
, because the write
acts as an atomic action?