Sorry, if this topic has been brought up before, but I was absent from the list for a while.
The LaTeX templates extract the name and address from the file ~/ Library/Preferences/AddressBookMe.plist. Now, I have recently moved and thus changed my address (also in Address Book.app) but the AddressBookMe.plist is not updated. Indeed, if I delete the file it is not re-created at all. Any ideas? Is this due to an update of Apple's Address Book application. Can the content of my own Address Book entry be retrieved in some other way?
Thanks, Berndt
On 14. Feb 2007, at 18:49, Berndt Farwer wrote:
The LaTeX templates extract the name and address from the file ~/ Library/Preferences/AddressBookMe.plist. Now, I have recently moved and thus changed my address (also in Address Book.app) but the AddressBookMe.plist is not updated. Indeed, if I delete the file it is not re-created at all.
I think the AddressBookMe file is created when you first create an account on the system. As of such, it is not very robust to rely on this file (e.g. secondary users on the system will also lack it).
Is this due to an update of Apple's Address Book application. Can the content of my own Address Book entry be retrieved in some other way?
We can access the Address Book application via AppleScript, but unfortunately that leads to the application being started, which is not ideal.
I seem to recall an AB query shell command from somewhere, might be a possibility to bundle that with TM, so we can use that instead.
El 14/02/2007, a las 21:40, Allan Odgaard escribió:
I seem to recall an AB query shell command from somewhere, might be a possibility to bundle that with TM, so we can use that instead.
abtool
http://theocacao.com/document.page/210
It is very easy of usage:
% abtool name
On Feb 14, 2007, at 2:40 PM, Allan Odgaard wrote:
I seem to recall an AB query shell command from somewhere, might be a possibility to bundle that with TM, so we can use that instead.
It's called "contacts" and you can find it at <http://gnufoo.org/ contacts/>. I was just looking at it yesterday.
-- Dr. Drang
* Allan Odgaard throw-away-1@macromates.com [2007-02-14 13:40]:
I seem to recall an AB query shell command from somewhere, might be a possibility to bundle that with TM, so we can use that instead.
The attached command tries the Little Brother's Database[1], contacts, and AppleScript in order.