J
Jeff Zienowicz
I'd like to modify the very useful scripts for copying contact categories
to/from Custom Field 8 (found at http://www.cortig.net/wordpress/?p=73) so
they'll work with an address book which is an Exchange public folder. I've
tried a number of syntax variations to try to accomplish this, but am so far
unsuccessful.
I have a public address book called "Contacts" in the "All Public Folders"
folder. It is also copied to the Favorites folder. I have full rights to
the folder. This code throws an "Access Not Allowed" error:
tell application "Microsoft Entourage"
-- added this line:
set MyBook to address book "Contacts" in folder "Contacts" in public
folder of Exchange account
-- modified this line:
set MyContacts to every contact in MyBook
set AppleScript's text item delimiters to {";"}
repeat with OneContact in MyContacts
[etc.]
I've tried every other syntax I can think of, most of which result in "Can't
get folder" errors.
Is this possible to do -- modify a public address book's contents with
AppleScript?
thanks,
Jeff
to/from Custom Field 8 (found at http://www.cortig.net/wordpress/?p=73) so
they'll work with an address book which is an Exchange public folder. I've
tried a number of syntax variations to try to accomplish this, but am so far
unsuccessful.
I have a public address book called "Contacts" in the "All Public Folders"
folder. It is also copied to the Favorites folder. I have full rights to
the folder. This code throws an "Access Not Allowed" error:
tell application "Microsoft Entourage"
-- added this line:
set MyBook to address book "Contacts" in folder "Contacts" in public
folder of Exchange account
-- modified this line:
set MyContacts to every contact in MyBook
set AppleScript's text item delimiters to {";"}
repeat with OneContact in MyContacts
[etc.]
I've tried every other syntax I can think of, most of which result in "Can't
get folder" errors.
Is this possible to do -- modify a public address book's contents with
AppleScript?
thanks,
Jeff