Can't schedule rules - who's good at Applescript?

I

ITchest

Dear all,

I'm an experienced Outlook Express user that's just started using Entourage.
It's a great program, with a catastrophic flaw: you can't schedule rules! So
once mail has been downloaded, you can't automatically post-process it. I've
seen that an Applescript - about which I know very little - can stand in for
a rule, and be scheduled as well. So...

Would one of you Applescript gurus (Paul B?) be able to write a script that
replicated AOL's behaviour? IE:

If an email in the inbox is older than one week OR has been replied to, copy
it to the 'Saved' folder.

TIA, Benedict.
 
I

ITchest

Re: Can't schedule rules - who's good at Applescript?Barry, you're a genius!

Now, how do I apply this to a particular IMAP mailbox only? I assume I need
to specify the mailbox and the folder name?

TIA, Benedict.

Dear all,

I'm an experienced Outlook Express user that's just started using
Entourage.
It's a great program, with a catastrophic flaw: you can't schedule rules!
So
once mail has been downloaded, you can't automatically post-process it.
I've
seen that an Applescript - about which I know very little - can stand in
for
a rule, and be scheduled as well. So...

Would one of you Applescript gurus (Paul B?) be able to write a script
that
replicated AOL's behaviour? IE:

If an email in the inbox is older than one week OR has been replied to,
copy
it to the 'Saved' folder.

TIA, Benedict.


tell app "Microsoft Entourage"
move (every message of folder 1 whose replied to is true) to folder "Saved"
move (every message of folder 1 whose time received < ((current date) - 7 *
days)) to folder "Saved"
end tell
 
B

Barry Wainwright

Thank you for those kind words :)

'folder 1' is short-hand for the inbox under 'Folders on my Computer'.
Replace [folder 1] with [folder "inbox" of imap account
"whateverTheAccountIsCalled"]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top