Re: Editting an existing e-mail account in Microsoft Entourage using AppleScript
Re: Editting an existing e-mail account in Microsoft Entourage using AppleScript
- Subject: Re: Editting an existing e-mail account in Microsoft Entourage using AppleScript
- From: Jeremy Reichman <email@hidden>
- Date: Mon, 25 Apr 2005 11:19:49 -0400
> Not sure that I understand your question fully - you edit the account in the
> same way as any applescript class - by setting properties.
>
> You can refer to the account either by using a construct such as:
> set xxx of POP Account "account_Name" to "zzz"
>
> Or, by index (IMAP Account 1), or by ID (Hotmail account id 3)
>
> All the properties are declared in the Entourage dictionary, and can be used
> in the normal way:
>
> Set email address of POP Account 1 to "email@hidden"
> Set include in send and receive all of IMAP Account "my mac.com account" to
> false
> Etc...
If you're changing a bunch of properties, you can also just "tell" the
account object. My AppleScript is not great, but I found this construction
helpful when we were setting up Exchange accounts at my university:
tell application "Microsoft Entourage"
tell Exchange account 1
-- the front end server is where you access OWA
set the Exchange server to "frontendserver.site.com"
-- must replicate free/busy public folder to front end server
set the free busy server to "frontendserver.site.com/public"
set the domain to "domain.forest.site.com"
end tell
end tell
Note that for this account type, there are differences between v.X and 2004.
--
Jeremy Reichman
Information and Technology Services
Rochester Institute of Technology
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden