红联Linux门户
Linux帮助

OS X:禁止/准许输入拼写检查(Spell Check While Typing)

发布时间:2014-11-01 16:55:45来源:linux网站作者:afatgoat

下面的脚本针对某一个程序禁止输入拼写检查(Spell Check While Typing),只要给program付正确的值


program=“com.apple.TextEdit” 
defaults write "$program"  CheckSpellingWhileTyping -bool false


下面的语句适合于一个用户的所有软件:


defaults write -g NSAllowContinuousSpellChecking -bool false


只要把False改成True,就可以强制进行输入拼写检查(Spell Check While Typing)。