Title: Re: Getting specific events
On 7/29/03 1:47 PM, "John C. Welch" <[EMAIL PROTECTED]> wrote:

> Is there an easy way to get a list of events with a specific start day or
> month in E'rage X?
>
> I'm having no luck unless I parse the entire list of event start times.

Get them where? In a custom view? Or is AppleScript OK?

set startDay to date "7/10/2003"
--compiles to
date "Thursday, July 10, 2003 12:00:00 AM"
set nextDay to (startDay + (1 * days))

tell application "Microsoft Entourage"
    set timeFrameEvents to every event whose start time ≥ startDay and start time < nextDay
end tell



For a particular month, change the first two lines to something like:

set startDay to date "7/1/2003"
set nextDay to date "8/1/2003"

There are ways to make it more general.
--
Paul Berkowitz

Reply via email to