A
Andy Black
Hi,
I have a couple of applescripts that change around some of my network
settings and other stuff based on whether or not I am home or work. They
work fine except the part that sets my default account at work to my
Exchange account.
I can set my default account at home just fine (it's an IMAP) account.
Any ideas why I can't set the default account to an Exchange account via
applescript? The pertinent code snippet is below.
Thanks,
Andy
tell application "Microsoft Entourage"
set workAccount to Exchange account named "Work"
set homeAccount to IMAP account named "Home"
set default mail account to workAccount
tell homeAccount
set include in send and receive all to false
end tell
end tell
I have a couple of applescripts that change around some of my network
settings and other stuff based on whether or not I am home or work. They
work fine except the part that sets my default account at work to my
Exchange account.
I can set my default account at home just fine (it's an IMAP) account.
Any ideas why I can't set the default account to an Exchange account via
applescript? The pertinent code snippet is below.
Thanks,
Andy
tell application "Microsoft Entourage"
set workAccount to Exchange account named "Work"
set homeAccount to IMAP account named "Home"
set default mail account to workAccount
tell homeAccount
set include in send and receive all to false
end tell
end tell