| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
... It is contained in the Preferences file com.apple.LaunchServices.plist. In that file, the should be at least one Dictionary named Root containing a key/value pair named Root; a sub-dictionary named LSPrefBindings containing a number (mine has 77) of key/value pairs. There is an Array named U:mailto that contains a Dictionary named 0. In here is a String named LSBundleIdentifier containing the value com.qualcomm.eudora, which just happens to be my mailer of choice.Brilliant. Thanks.
Now, what you could do that would be *REALLY* spiffy would be to create a similar routine that took into account every stand-alone, AppleScriptable mailer for the Mac.
<x-tad-smaller>Jeremy Wood <email@hidden></x-tad-smaller><x-tad-smaller> </x-tad-smaller>
<x-tad-smaller>01/12/06 05:59 PM</x-tad-smaller>
<x-tad-smaller>To</x-tad-smaller>
<x-tad-smaller>Martin Maher/CA/KAIPERM@Kaiperm</x-tad-smaller>
<x-tad-smaller>cc</x-tad-smaller>
<x-tad-smaller>email@hidden</x-tad-smaller>
<x-tad-smaller>Subject</x-tad-smaller>
<x-tad-smaller>Re: AppleScript + Mail (+ Java)</x-tad-smaller>
<x-tad-smaller> > I am not sure where it is resident but there is a preference that can </x-tad-smaller>
<x-tad-smaller> > be adjusted in the Mail application preferences that designates the </x-tad-smaller>
<x-tad-smaller> > "default" SMTP/POP3/IMAP4 application. I imagine you could look at </x-tad-smaller>
<x-tad-smaller> > that within the preference file.</x-tad-smaller>
<x-tad-smaller> Huh. It's a promising start, thanks. I search the </x-tad-smaller>
<x-tad-smaller> "com.apple.mail.plist" file just now, and didn't see that setting </x-tad-smaller>
<x-tad-smaller> listed in there.</x-tad-smaller>
<x-tad-smaller> Does anyone know where that setting lives? (Does anyone have any </x-tad-smaller>
<x-tad-smaller> reason why that little piece of info wouldn't be sufficient?)</x-tad-smaller>
<x-tad-smaller> - Jeremy</x-tad-smaller>
<x-tad-smaller> > Jeremy Wood <email@hidden></x-tad-smaller>
<x-tad-smaller> > Sent by: java-dev-bounces+martin.maher=email@hidden</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > 01/12/06 05:43 PM</x-tad-smaller>
<x-tad-smaller> > To</x-tad-smaller>
<x-tad-smaller> > Java Developers <email@hidden></x-tad-smaller>
<x-tad-smaller> > cc</x-tad-smaller>
<x-tad-smaller> > Subject</x-tad-smaller>
<x-tad-smaller> > AppleScript + Mail (+ Java)</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > Our goal is for users to be able to click a single button on the</x-tad-smaller>
<x-tad-smaller> > toolbar and magically be whisked away to Mail, where their saved</x-tad-smaller>
<x-tad-smaller> > documents will already be attached to an email. They just add the</x-tad-smaller>
<x-tad-smaller> > recipient's name, and optionally add a little message body/subject,</x-tad-smaller>
<x-tad-smaller> > and</x-tad-smaller>
<x-tad-smaller> > they can mail their saved documents to whoever they'd like.</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > We achieved this with AppleScript, provided that the user has Mail</x-tad-smaller>
<x-tad-smaller> > already set up... which is a fine start.</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > My first question is this:</x-tad-smaller>
<x-tad-smaller> > How can we tell whether Mail is set up to run on their computer?</x-tad-smaller>
<x-tad-smaller> > (We'd like to disable this feature if the user isn't set up to use</x-tad-smaller>
<x-tad-smaller> > Mail...)</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > _______________________________________________</x-tad-smaller>
<x-tad-smaller> > Do not post admin requests to the list. They will be ignored.</x-tad-smaller>
<x-tad-smaller> > Java-dev mailing list (email@hidden)</x-tad-smaller>
<x-tad-smaller> > Help/Unsubscribe/Update your Subscription:</x-tad-smaller>
<x-tad-smaller> > http://lists.apple.com/mailman/options/java-dev/email@hidden</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > This email sent to email@hidden</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
_______________________________________________ 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
| References: | |
| >Re: AppleScript + Mail (+ Java) (From: email@hidden) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.