Posted on 03-23-2010 10:51 AM
Try copying and pasting this into AppleScript Editor and see if that does what you want (changing myExchangeServer to what you want to set it to):
property myExchangeServer : "my Exchange Server"
tell application "System Events"
tell application "Microsoft Entourage"
activate
repeat with anAccount in every Exchange account
set ExchangeServer to myExchangeServer
end repeat
end tell
end tell
Posted on 03-23-2010 12:28 AM
We used this to do it
tell application "Microsoft Entourage"
tell default mail account
set Exchange server to "New Server Here"
end tell
end tell
Rich Dagel
Senior Technology Specialist
Landor Associates
1001 Front Street
San Francisco, CA 94111
United States
415 365 3933
http://www.landor.com
Rich.Dagel at landor.com
![external image link](attachments/ec646f0c92784f10b11cd8eac7d2d345)
Posted on 03-23-2010 12:53 AM
Oops. Sorry, I left out a crucial line. Here is what it should be:
property myExchangeServer : "my Exchange Server"
tell application "System Events"
tell application "Microsoft Entourage"
activate
repeat with anAccount in every Exchange account
set Exchange server settings of anAccount to {address:myExchangeServer, requires SSL:true, port:443}
end repeat
end tell
end tell