Applescript to choose account type?

S

Scott McDaniel

Good day.
I'm working on an inventory applescript that, among other things, needs
to find out if a users primary account is imap or exchange, then
include 'full name' as part of the inventory.

What would be the best place to start this particular phase?

I can poll either imap or exchange for that data, but not sure how to
ask entourage which is primary.
:(

Thanks in advance for any assistance you can offer.
 
B

Barry Wainwright [MVP]

'default mail account' is an application property. Just ask for the class of
that:

class of default mail account
name of default mail account
 
Top