Re: Creating a Recurring Event in Calendar that Counts Down
From: Barry Wainwright (barry_at_mvps.org.INVALID)
Date: 10/10/04
- Next message: Barry Wainwright: "Re: Entourage database corrupts often"
- Previous message: Barrie Smart: "Group Messages Error"
- In reply to: Omar Hakim: "Creating a Recurring Event in Calendar that Counts Down"
- Next in thread: Omar Hakim: "Re: Creating a Recurring Event in Calendar that Counts Down"
- Reply: Omar Hakim: "Re: Creating a Recurring Event in Calendar that Counts Down"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 10 Oct 2004 16:48:31 +0100
On 10/10/04 7:24 am, in article BD8E3FBA.DDAB%omar@omarhakim.net, "Omar
Hakim" <omar@omarhakim.net> wrote:
> Hi,
>
> I'm trying to create a recurring event in my Entourage 2004 calendar so that
> the title decreases by one each day.
>
> For example, my calendar would have an event that says "99 days until X",
> then the next day it would say "98 days until X", etc. I'd like to find a
> way to do this without having to create 99 unique calendar events.
>
> Any suggestions would be greatly appreciated. Thanks.
>
Use this script: <">http://tinyurl.com/537zy> <http://tinyurl.com/537zy>
If that URL doesnąt load it up properly, here it is in full:
property targetDate : date "25 December 2004 "
property dateSteps : 7
property startReminders : date "1 december 2004"
set newtargetDate to targetDate
repeat
if newtargetDate < startReminders then exit repeat
tell application "Microsoft Entourage" to make new event with properties
{subject:"" & (targetDate - newtargetDate) div days & " days to go!", start
time:newtargetDate, all day event:true}
set newtargetDate to newtargetDate - dateSteps * days
end repeat
-- Barry Wainwright Microsoft MVP (see http://mvp.support.microsoft.com for details) Seen the All-New Entourage Help Pages? - Check them out: <http://www.entourage.mvps.org/>
- Next message: Barry Wainwright: "Re: Entourage database corrupts often"
- Previous message: Barrie Smart: "Group Messages Error"
- In reply to: Omar Hakim: "Creating a Recurring Event in Calendar that Counts Down"
- Next in thread: Omar Hakim: "Re: Creating a Recurring Event in Calendar that Counts Down"
- Reply: Omar Hakim: "Re: Creating a Recurring Event in Calendar that Counts Down"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|