Title: Re: This script fails because the target is a subfolder...
On 3/17/04 4:33 PM, "Mark Goodman" <[EMAIL PROTECTED]> wrote:

This script fails because the target is a subfolder. Can someone please give me an example of how to fix it?

set
thirtyDaysAgo to (current date) - (1 * days)
tell application "Microsoft Entourage"
    move (every message in folder "Inbox" whose time received is less than thirtyDaysAgo and its category contains {category "Web Order"} and read status is read) to folder "SOH Web Orders"
end tell

Well, I did ask you to let me know if it was a subfolder. You have to tell us what folder "SOH Web Orders" is a subfolder of. If it's a subfolder of the Inbox, you say

    folder "SOH Web Orders" of folder "Inbox"

and so on.

--
Paul Berkowitz

Reply via email to