Re: Way to adjust Outlook Express Preferences?
Re: Way to adjust Outlook Express Preferences?
- Subject: Re: Way to adjust Outlook Express Preferences?
- From: Matthew Smith <email@hidden>
- Date: Tue, 27 Nov 2001 14:03:37 +1100
on 27/11/01 10:29, email@hidden at email@hidden wrote:
>
Can anyone tell me if it's technically possible, via Applescript, to open up
>
Outlook Express and change the user's SMTP and POP account settings in the
>
Outlooks Preferences, and then save those preferences?
>
>
The reason I ask is because I tried having the scripteditor record me
>
manually making those changes, but it didn't record anything I did in the
>
preferences screen. That made me think that perhaps Applescript couldn't
>
adjust those settings.
This is possible, although you cannot record it. You should start to look at
the dictionary for applications and work out from there what you can do.
Outlook Express is very scriptable.
Tell app "Outlook Express"
repeat with oneAccount in every POP account
-- now can do what you want
-- note: there can be more than one POP account
-- you might want to make a new one
end repeat
-- or
tell POP Account "XYZ"
set SMTP server to "abc"
set pop server to "abc"
end tell
End tell
--
Matthew Smith