Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript + Mail (+ Java)



On 1/13/06, Greg Guerin <email@hidden> wrote:

> For LaunchServices, the domain is com.apple.LaunchServices, so see this:
>   defaults read com.apple.LaunchServices
>
> I definitely see a "U:mailto" entry, and the app is listed as
> "com.apple.mail", which is another domain for 'defaults', as in:
>   defaults read com.apple.mail
>
> to read Mail.app's defaults.
>
> When reading 'man defaults', remember that "domain" refers to an app's
> unique CFBundleIdentifier, from its Info.plist file.

Of course as Greg knows... the keys in plists are an implementation
detail and can change with software / operating system updates. It is
best to avoid parsing or probe such files if at all possible.

-Shawn
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.