Localized Labels in Address Book
Localized Labels in Address Book
- Subject: Localized Labels in Address Book
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 15 Sep 2002 12:05:18 -0700
Is there any way is AppleScript - maybe with 'do shell script' on some
preference file? - to get the default labels for Address Book items in
localized languages?
It turns out that various Address Book services, like FaxSTF for example,
looks for specific localized labels, such as 'telefaks arbeid' for 'work
fax' in Norwegian. But Address Book scripting simply gives you the string
value of any existing label without any way of figuring out if this is in
fact the equivalent of "home", "work", or "I made this one up". Worse, much
worse, is that there is no way of finding out the localized (or even
English) default labels for contacts before you create them - they simply
don't exist.
So is there some way to find the key-value pairs for the built-in Cocoa
'user defaults' in regular AppleScript via 'do shell script'? There are ways
to do it in AppleScript Studio, I think, but how about in regular
AppleScript?
There I was thinking that the 'label' property was great in giving you total
freedom. In fact, it's total freedom to become confused and lost.
Entourage's method, where every property has a fixed AppleScript term no
matter what the localization, is infinitely better. It's also the classic
AppleScript way to implement properties. But, of course, Entourage was
scripted by a Macintosh AppleScripter
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.