• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Entourage Custom Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entourage Custom Views


  • Subject: Re: Entourage Custom Views
  • From: Todd Geist <email@hidden>
  • Date: Wed, 20 Jul 2005 10:41:22 -0700

Ideally I would like to find all messages that are

older than a certain date
And
not in one of several folders

Do I have to loop through all  the folders folders, like below or is there
an easier way?

Thanks again!

tell application "Microsoft Entourage"

    set theFolders to every folder
    repeat with i from (count theFolders) to 1 by -1
        set this_folder to item i of theFolders

        set theMessages to (every message of this_folder where time received
is less than date "Monday, August 4, 2003 12:00:00 AM")
        repeat with i from (count theMessages) to 1 by -1
            set this_messsage to item i of theMessages

            --do some stuff here

        end repeat

    end repeat

end tell


On 7/20/05 10:14 AM, "Paul Berkowitz" <email@hidden> wrote:

> On the other hand, you can use AppleScript with the same criteria as your
> custom view uses to get the same results - slower, but still pretty good
> since 'whose' clauses work here. There are very few criteria available to
> Advanced Finds and Custom Views (but a few, nevertheless) which cannot also
> be done by script. In fact AppleScript can do more sophisticated searches
> even than Custom Views because they can combine AND and OR  criteria in
> mixed fashion, which UI Finds cannot (there you have to choose between 'if
> ALL criteria are met' and 'if ANY criteria are met').
>
> What are the criteria of the custom views whose results you'd like to get by
> script?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Entourage Custom Views
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Entourage Custom Views (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Entourage Custom Views
  • Next by Date: Re: Entourage Custom Views
  • Previous by thread: Re: Entourage Custom Views
  • Next by thread: Re: Entourage Custom Views
  • Index(es):
    • Date
    • Thread