Re: Outlook Express rules?
Re: Outlook Express rules?
- Subject: Re: Outlook Express rules?
- From: JJ <email@hidden>
- Date: Fri, 25 May 2001 10:41:50 +0200
>
As I said, you can usually script anything that a Rule can do, and then
>
some. Just supposing that there were no action to add the sender to the
>
Address Book you could do it yourself.
--
Paul B. told us the best way, but also, answering your question:
>
Which third party apps?
Third-party apps: Prefab Player
Third-party osax: Akua Sweets
tell application "Outlook Express"
activate
try
puppet menu {"Tools", "Rules"}
-- New rule
input state {keys down:"n", command key bit:true}
-- New rule's name
input state {keys down:"Add to Mail List"}
-- The default "If" is "Every message", so don't touch it
-- Now, you are modifying the first action ("Then")
input state {pointer location:{115, 217}}
-- click & drag to "Add recipient" (you should revise coordinates,
-- because I'm working at an Outlook's spanish version)
set dragclick to pointer location of (input state) & ({200, 360})
input state {pointer location:dragclick}
-- click "OK"
set ok to (ASCII character 3)
input state {keys down:ok}
-- & close
input state {keys down:"w", command key bit:true}
on error
display dialog "Sure Akua Sweets is correctly installed?"
end try
display dialog "Yet, is done!" giving up after 1
end tell