• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Address Book


  • Subject: Re: Address Book
  • From: LE STANG Jean-Baptiste <email@hidden>
  • Date: Fri, 10 Jan 2003 00:15:16 +0100

To do this you will have to
a : make a list of the id of everyone of your contacts
b : make a list of the id of everyone of yours contacts that are in a group

Then to your results result :
Result A :
- You loop thru your first list and check wether or not the current item is in the second list
a : it's not in your second list => nothing happens
b : it's in your first list => you have to remove this item from the list
Result B :
- You loop in your second list and count the occurences of the current item

It's getting a little bit late for me and i don't have much time to give you a piece of code, sorry

Jean-Baptiste LE STANG

Le jeudi, 9 jan 2003, ` 18:23 Europe/Paris, Jan Erik Mostrvm a icrit :

I'm making my first stumbling attempts to script the address book and
already found a obstacles. I want to write a script a that selects all
addresses that doesn't belong to a group but I'm not able to figure out:

+ How to use "whose" to find this out? (is it possible)

+ How to count the number of groups a person belongs to

(and this just the beginning 8-) Does anyone have some hints for me?

jem
--
Jan Erik Mostrvm email@hidden www.mostrom.pp.se
_______________________________________________
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.
_______________________________________________
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.

  • Prev by Date: Re: Formatting selected text in a Filemaker field
  • Next by Date: Re: news from the front line, or near it, on scriptability of Keynote, Safari, iMovie 3, iPhoto 2, FCE
  • Previous by thread: Problem with text to speech
  • Next by thread: Re: Address Book
  • Index(es):
    • Date
    • Thread