On 11/19/00 5:38 PM, "James Naron" <[EMAIL PROTECTED]> wrote:

> Hey scripters!
> 
> Is it possible to write a script which will go through the calendar events
> and delete calendar events based on given criteria?
> 
> Examples:
> Delete all calendar events whose category is none and whose alarm time is
> none or whose alarm time has passed.
> 
> Delete all calendar events whose note field contains a given string
> 
> Both of these together (delete all calendar events whose category is none
> and whose alarm time is none or whose alarm time has passed and whose note
> field contains a given string)
> 
Not like that, since neither whose clauses for category nor for start time
were implemented. However, you cam go through every event and check on all
those things. In spite of the fact that (every event) will include every
holiday over a five-year period, it doesn't seem to take very long on my
machine. I'm not quite sure why you'd want to do this, however - what harm
does a passed event do? Many people seem to like to keep the events as a
diary. Not you, evidently.

One thing that can't be done at all is check on the remind time (what you
call alarm time), since that property wasn't implemented (yet) in Entourage.
Sorry.

I'll send you a script or two to try out, later tonight, probably. I've just
done one rather similar, so it won't take me long. Since there's no way to
find out when the last occurrence of a recurring event is (Dan - that's
another property we need), I won't remove recurring events. (If you want, I
can give you a list of them and you can say whether you want them deleted or
not.)

-- 
Paul Berkowitz


-- 
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives: 
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to