I have searched, but have yet to find an answer.
make new Exchange account with properties {name:"Mailbox - " & fullName, Exchange ID:shortname, password:emailpw, :true, domain:WindowsDomain, full name:fullName, email address:emailAddress, search base:LDAPSearchBase, Exchange server settings:{address:ExchangeServer, requires SSL:ExchangeServerSSL, port:ExchangeServerSSLPort}, public folder server settings:{address:PublicFolderServer, requires SSL:PublicFolderServerSSL, port:PublicFolderServerSSLPort}, LDAP server settings:{address:LDAPServer, LDAP requires authentication:LDAPRequiresAuthentication, requires SSL:LDAPServerSSL, port:LDAPServerSSLPort, maximum entries:LDAPMaximumResults}}
BUT!
I'd like to tick that 'little' box that says 'save password in keychain' but there doesn't seem to be a property for that! :(
I tried creating my own Keychain key:
tell application "Keychain Scripting"
try
make new generic key with properties {name:"Exchange", account:"foo@baa", service:"Exchange", password:"foo"}
on error
set theKey to ""
end try
end tell
But, you can't associate the key with the App!! :(
I'd really like the setup to be 'seamless', I really don't want to have to send out instructions saying 'enter this here, that there, click this'
I looked at GUI scripting, but its a dirty way of doing it... Not spent too much time on it.. but it 'could' work... anyone done this?
Issue2:
Some of our Macs have a previous account in Entourage, I need to blow this away, but can't seem to find the 'delete account *' equivalent in the Entourage Dictionary..
I've tried deleting:
Office 2004 Identity
Office X Identity
com.microsoft.entourage.pref.plist
com.microsoft.entourage.plist
Entourage prefs
BUT STILL IT WON'T DIE!
Confused...
I'd prefer to script it out rather than blow stuff away.. but I'm open to option.
Thanks in advance.
Applescript rocks!
tp