• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Updating prefs in cocoa apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Remote Apple Events
  • Next by Date: Re: Smile bugs
  • Previous by thread: Re: Remote Apple Events
  • Next by thread: Re: keystroke reference?
  • Index(es):
    • Date
    • Thread