Updating prefs in cocoa apps
Updating prefs in cocoa apps
- Subject: Updating prefs in cocoa apps
- From: John Delacour <email@hidden>
- Date: Fri, 1 Aug 2003 15:57:05 +0100
- Mac-eudora-version: 6.0a29
I can change TextEdit's preferences to open documents as UTF-8 by
running this shell script:
defaults write com.apple.textedit PlainTextEncoding 4
but I need to relaunch TextEdit for the change to be registered and
there's no way to make this change with Apple events to the app.
Is there any way of getting TextEdit to respect the changed prefs
without relaunching?
JD
.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.