• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting Entourage Account creation and deletion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Entourage Account creation and deletion


  • Subject: Scripting Entourage Account creation and deletion
  • From: email@hidden
  • Date: Sat, 2 Feb 2008 17:46:52 +0000

Hi List,

I have searched, but have yet to find an answer.

I have the great script from William Smith, that has set me on my way getting Entourage automatically set up.


Issue 1:

the following of course works a treat:

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







 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Loops
  • Next by Date: Re: enable menu item in applescript studio
  • Previous by thread: Re: tone of text? was UUID
  • Next by thread: Extra Suites problem?
  • Index(es):
    • Date
    • Thread