Rename an Entourage Exchange account or domain using Applescript
I recently had the need to automate the taks of renaming both the Exchange account name and domain name for a few dozen remote users. As opposed to writing up directions and risking that they a)wouldn’t do it or b)would make a mistake, I opted to go the route of making it easy for them.
Here’s the script used to:
Hope this helps!
–THIS SCRIPT RENAMES THE DOMAIN IN AN ENTOURAGE EXCHANGE ACCOUNT
tell application “Microsoft Entourage”
set acname to “Exchange”
set domname to “whatever”–set entourage to work offline
set working offline to true–rename the account to ‘exchange’
if the name of the default mail account is not acname then
set the name of the default mail account to acname
end if–rename the domain to ‘whatever’
if the domain of Exchange account acname is not domname then
set the domain of Exchange account acname to domname
end if–bring entourage back online
set working offline to falseend tell
Post Data
- Posted: Nov 15, 2006 by TechPedia
- Short URL: http://qte.me/24l
Recent Comments