on 8/8/03 7:49 AM, Allen Watson  wrote:

> True. I was assuming that they wanted to change, not just the company name,
> but also the e-mail addresses of people in the company, as Michael indicated
> in the original message. My intention was to get Michael to experiment on
> his own with AppleScript a bit...the more people who know how to script
> Entourage, the better!

Thanks for everyone's input. Filtering for the company proofed a no go, as
most of the contacts where added from received emails, so all they contained
was the email address and the name. For some reason asking for:

tell application "Microsoft Entourage"
set ourStaff to every contact whose email address contains "@domain.com.au"
repeat with aContact in ourStaff
-- Do stuff here
end repeat
end tell

returns an empty list, so I had to work with a manually found set as Paul
suggested. Shouldn't this have worked?

Michael

--
Mac-Oz, all Australian Macintosh Virtual Community
To join, send email to <[EMAIL PROTECTED]>

-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to