Title: Re: Changing email domains and Company via Script
Allen’s approach assumes, of course, that the user has systematically and precisely entered the “company name” in exactly the same fashion on each relevant contact. That’s not likely given human nature, certainly not mine. But, where it counts, in the email address, consistency is the only way to get the deliveries you want. Ergo, the search should be for any portion of all email address fields that contain the relevant domain name, n’est ce pas? Curiously, in the now largely displaced Outlook Express, its contact “finder” would do just that, when asked, directly. I’d think that would also work in Entourage, i.e., it would isolate all contacts meeting the “old domain name” criteria. But, it would not change them, which is what Michael wanted in the first place.
From: Allen Watson <[EMAIL PROTECTED]>
Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
Date: Tue, 05 Aug 2003 22:08:47 -0700
To: Entourage mac Talk <[EMAIL PROTECTED]>
Subject: Re: Changing email domains and Company via Script
On or near 8/5/03 3:49 PM, Michael Scheurer at [EMAIL PROTECTED] observed:
> Hi all,
> the place I work for has recently changed names and email domain. I'm
> looking to change 400+ contacts. I'll need to change Company name and the
> domain name in selected email addresses.
>
> Before I start to write a script, has anyone written such an animal already?
>
>
I've not seen anything posted, but it should be straightforward enough. Go for it! You might start with:
tell application "Microsoft Entourage"
set ourStaff to every contact whose Company is "Consolidated Widgets" -- Use appropriate company name
repeat with aContact in ourStaff
-- Do stuff here
end repeat
end tell
--
Microsoft MVP for Entourage/OE/Word (MVPs are volunteers)
Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site: <http://www.entourage.mvps.org/>
AppleScripts for Outlook Express and Entourage:
<http://members.thinkaccess.net/[EMAIL PROTECTED]/Scripts/>
Entourage Help Pages: <http://www.entourage.mvps.org/>
- Re: Changing email domains and Company via Script Allen Watson
- Re: Changing email domains and Company via Script Paul Berkowitz
- Re: Changing email domains and Company via Scr... Allen Watson
- Re: Changing email domains and Company via Scr... Michael Scheurer
- Changing email domains and Company via Script Michael Scheurer
- Re: Changing email domains and Company via Scr... Allen Watson
- Re: Changing email domains and Company via... Lindsley Williams
- Re: Changing email domains and Company... Paul Berkowitz
- Re: Changing email domains and Co... Allen Watson
- Re: Changing email domains an... Michael Scheurer
- Re: Changing email domain... Paul Berkowitz
- Re: Changing email domain... Michael Scheurer
- Re: Changing email domains an... Barry Wainwright
- Re: Changing email domains and Company... Norman W. Ferguson
