AppleScript to setup new entourage account

R

rdagel

I have written a script to make it easy for new users to setup their
own entourage account. I got all of it working but the free busy
server. It seems that the field for entourage public folders settings
is called something else that i can not get to work. here is a copy of
the script.

display dialog "Your name here:" default answer ""
set theName to text returned of result
display dialog "Your User ID" default answer ""
set theUser to text returned of result
display dialog "Enter your Password:" default answer ""
set thePasswd to text returned of result
set theE to word 1 of theName & "_" & word 2 of theName
set theAddress to theE & "@company.com"
tell application "Microsoft Entourage"
make new Exchange account with properties {name:theName, email
address:theAddress, Exchange ID:theUser, Exchange server:"Exchange
Server", password:thePasswd, domain:"NA", LDAP server:"ldap server",
Public folders server:"EXCHANGE/PUBLIC/"}
end tell
 
Top