In OS X 10.4 (or maybe 10.3, I don’t remember), Apple released a bunch of new classes to Applescript to finally bring it somewhat up to date. Applescript still doesn’t have property string search/replace utilities but I’ll take whatever improvements I can get. Unfortunately, Apple’s documentation hasn’t been updated in years. Apple puts this new stuff out but doesn’t tell us how to use it. Bastards.
So I’ve been working with property list files for the last few days. I’ve put what I’ve figured out in the extended section of this post. If you’ve been considering working with property list files, it may be worth a look.
(more…)