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 Jan 13, 2006, at 12:27 PM, Jeremy Wood wrote:
it seems more time-efficient (in my case) to parse the XML file... unless there are particular hazards/risks involved?

Those plists used to be plain text, but Apple has now started saving them in an opaque binary format. If you'd deployed a "parse the XML" solution under 10.3, it would suddenly break under 10.4 when Apple changed the plists to binary.


"plutil" on the command line can convert from binary to text and back again, so you can convert the thing in to plain text before parsing it.

Going through the API would insulate you from that kind of thing.

chazl

--
I wish I had a dollar for how happy I feel.
-Mel Brooks, Said at an acceptance speech honoring him
Chaz Larson - chaz at jeck dot com - http:// www.jeck.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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)
 >Re: AppleScript + Mail (+ Java) (From: Jeremy Wood <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.