• 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: The Need for Speed: Finding Entourage contacts by display name or nickname
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Need for Speed: Finding Entourage contacts by display name or nickname


  • Subject: Re: The Need for Speed: Finding Entourage contacts by display name or nickname
  • From: "Stephen Swift (aka Burnum)" <email@hidden>
  • Date: Fri, 22 Jun 2001 12:38:51 -0400

At 6/22/01 11:11 AM, Jolly Roger (email@hidden) Wrote:

> The following script searches through the Entourage contact list looking for
> a contact that has the display name or nickname specified. This is
> dreadfully slow in comparison to the built-in Entourage "find" utility,
> which only searches for email addresses.

This script just returns True or False. But I suppose you could use that.
It's fairly fast.

tell application "Microsoft Entourage"
set theList to name of every contact
set TorF to theList contains "Stephen Swift"
end tell
TorF

But that doesn't give you the id of the contact. This does:

tell application "Microsoft Entourage"
set theList to name of every contact
repeat with c from 1 to (number of items in theList)
if item c of theList = "Stephen Swift" then
set foundContact to contact c
exit repeat
end if
end repeat
end tell
FoundContact

But I'm not sure how faster that really is.

Stephen Swift ?' The Burnum Man
email@hidden
-----------------------------------------------
"The Byte Shop order was the biggest single episode in the company's
history. Nothing in subsequent years was so great and so unexpected."
-Steve Wozniak


References: 
 >The Need for Speed: Finding Entourage contacts by display name or nickname (From: Jolly Roger <email@hidden>)

  • Prev by Date: info on FaceSpan
  • Next by Date: Re: The Need for Speed: Finding Entourage contacts by display name or nickname
  • Previous by thread: The Need for Speed: Finding Entourage contacts by display name or nickname
  • Next by thread: Re: The Need for Speed: Finding Entourage contacts by display name or nickname
  • Index(es):
    • Date
    • Thread