osx (10.12.2) - Text Input automatically capitalizing

Ok weird behavior. I just upgraded to 10.12.2. This script worked just fine on 10.11.5 but it’s behaving oddly.

issue:

  • typing Sr results in SR when using the keystroke AppleScript on every app.
  • you can change “BBEdit” to anything “Microsoft Word”, “Terminal” etc… this is system wide across.
  • instead of typing Sr it types SR

Has something changed?

Code:


set passCode to "Sr"

tell application "System Events"
	activate application "BBEdit"
	keystroke passCode 
	keystroke return
end tell


This odd behavior is described in :
http://macscripter.net/viewtopic.php?id=45395
You will find a workaround in the same thread.

Yvan KOENIG running Sierra 10.12.2 in French (VALLAURIS, France) mercredi 4 janvier 2017 10:50:21

Thanks a lot Yvan Koenig… it was driving me nuts. I was like damn every time i upgrade OS X now there is some then that breaks or is broken. IT’s like windows all over again.

Honestly, I never got so many oddities (with 10.12.2) since April 2011 when I started to beta test OS X.

Yvan KOENIG running Sierra 10.12.2 in French (VALLAURIS, France) mercredi 4 janvier 2017 21:03:18