Re: Plan E from Outer Space
Re: Plan E from Outer Space
- Subject: Re: Plan E from Outer Space
- From: Bob Studer <email@hidden>
- Date: Mon, 15 Jun 2009 18:38:28 -0700
On Jun 15, 2009, at 4:07 PM, Luther Fuller wrote: Plan C I've written code to read and write the preference file, "com.apple.mail.plist", directly. But, if Apple changes the preference file format, my code will break, so, this may not be a good idea. So ...
When you say you read and write the preference file, are you doing so directly? If so, consider using the shell command "defaults". This should be more resilient to change, though not completely bulletproof.
-Bob
--------------------- Power always thinks it has a great soul and vast views beyond the comprehension of the weak; and that it is doing God's service when it is violating all his laws. -John Adams, 2nd US president (1735-1826)
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden