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


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

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

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

defaults write -g NSAllowContinuousSpellChecking -bool false

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

 

相关内容