Rule to execute on close

G

george spain

Can anyone think of how to word a rule to execute a "move read mail" to a
folder on quitting Entourage?

Thanks
 
B

Barry Wainwright

Can anyone think of how to word a rule to execute a "move read mail" to a
folder on quitting Entourage?

Thanks

you will have to do this with a schedule that runs an applescript.

a script like this will do it:

tell application "Microsoft Entourage"
set theAccount to default mail account
set theMessages to every message of folder 1 of theAccount whose read status is read
move theMessages to folder "Read Mail" of theAccount
end tell

Change the name of the destination folder to whatever is convenient to you; copy those 5 lines into Script Editor; save the script somewhere convenient and set it as an action to an 'on quit' schedule.
 
G

george spain

Excellent! Now is there a way to make the script part of my "favourites"
banner?
 
D

Diane Ross

Excellent! Now is there a way to make the script part of my "favourites"
banner?

No, but it's a feature that I would like to see added. Send feedback to
Microsoft.

As Barry explained, run the AppleScript from a schedule. Tools -->
Schedules.

On Quit

Run AppleScript (select script)
 
Top