On 4/25/06 9:55 AM, "Swenson, Joseph" <[EMAIL PROTECTED]> wrote:

> You have to use Applescript. The best option would be to set up a dummy
> account than change that to suit your environment. This is actually
> recommended by MS.
> Below is the script I'm working on. It's called up by a launchagent, then
> the launchagent is deleted after setup is complete.
> The script itself doesn't work however, it stops at the point where its
> supposed to change the dummy account, so some help would be nice.
> 
> --check if the account has an email address using dscl
> 
> set userName to do shell script "whoami"
> set fullName to do shell script "dscl localhost -read /Active\\
> Directory/All\\ Domains/Users/$USER displayName | sed 's/displayName: //' "
> set eMailAddress to do shell script "dscl localhost -read /Active\\
> Directory/All\\ Domains/Users/$USER EMailAddress | sed 's/EMailAddress: //'
> "
> 
> --edit the dummy account
> 
> if userName ‚ "EmailAddress: " then
>     tell application "Microsoft Entourage"
>         set Exchange account "CSBSJU" to {email address:eMailAddress,
> domain:"AD", full name:fullName, Exchange ID:userName}
>     end tell
> end if
> 
> 
> On 4/25/06 5:24 AM, "Toby Boardman" <[EMAIL PROTECTED]> wrote:
> 
>> 
>>     I have need to change a large number of entourage setups across multiple
>> sites. Does anyone know of a way to script the entourage accounts setup?
>> Preferably using shell script.

You do not need to set up a dummy account if you use the AppleScript
technique here, which dismisses the setup assistant on first run of
Entourage:

<http://www.jaharmi.com/2006/01/31#a2327>

After that, you can just create new accounts and configure them, as needed.


-- 
Jeremy

--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to