Can spell checking be disabled by default on OS X?
Posted
by
Lri
on Super User
See other posts from Super User
or by Lri
Published on 2011-12-13T15:34:46Z
Indexed on
2012/09/04
9:40 UTC
Read the original article
Hit count: 240
osx
|spell-check
Is there some way I could disable continuous spell checking or other settings in the substitutions menu by default?
System Preferences only has an option to disable autocorrect.
defaults write -g CheckSpellingWhileTyping -bool false
would be overridden by keys on the property lists of applications.
This would only apply to applications that have been used before:
#!/bin/bash
for d in $(defaults domains | tr -d ,); do
osascript -e "app id \"$d\"" > /dev/null 2>&1
[ $? == 1 ] && continue
echo $d
defaults write $d CheckSpellingWhileTyping -bool false
defaults write $d SmartDashes -bool false
defaults write $d SmartLinks -bool false
defaults write $d SmartQuotes -bool false
defaults write $d SmartCopyPaste -bool false
defaults write $d TextReplacement -bool false
done
© Super User or respective owner