[Pythonmac-SIG] dict for addressbook? (was: Re: python search
paths // try to use aeve)
Ronald Oussoren
oussoren at cistron.nl
Thu Oct 23 15:53:49 EDT 2003
Do you really want to script AddressBook? If you want to change the
contents of the addressbook database you can just as easily use the
AddressBook bindings of PyObjC.
If you really want to use applescript, the link below contains
information about how you can create a wrapper module for an
application's AppleScript dictionary (step 15):
http://pyobjc.sourceforge.net/doc/extending_objc_with_python.php
Ronald
On 23 okt 2003, at 9:11, helloleo wrote:
> well, AddressBook *is* scriptable, but how and where do i find the
> functions
> and classes i can use via python?
>
> for itunes there was demo page on the aeve website...
>
> cheers, leo
>
> ----- Original Message -----
> From: "Martina Oefelein" <Martina at Oefelein.de>
> To: "Leo" <helloleo at netspace.net.au>
> Cc: <Pythonmac-SIG at python.org>
> Sent: Thursday, October 23, 2003 6:02 AM
> Subject: Re: [Pythonmac-SIG] dict for addressbook? (was: Re: python
> search
> paths // try to use aeve)
>
>
>> Hi Leo,
>>
>>> but where do i now get a python dictionary for the address book
>>> application?
>>
>> I don't know if AddressBook.app is scriptable, but you can call the
>> AddressBook API using PyObjC.
>>
>> ciao
>> Martina
>>
>>
>
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
More information about the Pythonmac-SIG
mailing list