Hello all,
I’ve been doing some research to write a script that changes a couple of Exchange Account settings in Entourage. I have found many samples of how to create a new account using things such as this…
tell application "Microsoft Entourage"
make new POP account with properties {name:theName, full name:theName, email address:theAddress, SMTP server:"mail.test.com", POP server:"pop.test.com", POP ID:thePopID, password:thePasswd, include in send and receive all:true}
end tell
But what I’m looking for is to change some fields in existing Exchange accounts, not create new ones. I have tried a bunch of different methods, but have had no luck.
Here is my simplest attempt dealing only with domain, which doesn’t work.
tell application "Microsoft Entourage"
set newdomain to "name1.local"
set ExchangeAccountNames to name of every Exchange account
tell ExchangeAccountNames
set domain to newdomain
end tell
end tell
Any help would be appreciated. I’m going to have to do this to hundreds of machine, and I’m hoping I can automate the process.
Kindest Regards,
Daniel