Re: How to check to see if a mail account has already been created...
Re: How to check to see if a mail account has already been created...
- Subject: Re: How to check to see if a mail account has already been created...
- From: Matthew Smith <email@hidden>
- Date: Fri, 22 Apr 2005 22:43:58 +1000
Try:
tell application "Microsoft Entourage"
set popList to every POP account whose POP ID is "username" and POP
server is "mail.mac.com"
if popList is {} then
display dialog "No account"
end if
end tell
--
Matthew Smith
> From: David Siberry <email@hidden>
> Reply-To: David Siberry <email@hidden>
> Date: Fri, 22 Apr 2005 13:31:51 +0100
> To: <email@hidden>
> Subject: How to check to see if a mail account has already been created...
>
> Hi, i have created an applescript which when run creates an e-mail
> account and populates all the relevant fields and sets all the
> relevant settings in Microsoft Entourage.
> The data is inputted statically within the applescript.
> However if the script is run again and the account has already been
> created (by running the script more than once) you get an error.
> I was wondering if it was possible to search Entourage for existing
> e-mail accounts using applescript?
> That way I could check to see if the same account has been created and
> if so I could reset and repopulate all the fields.
_______________________________________________
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