I want to create a script that creates alarmed events in iCal for birthdays of people that I have in my address book. Unfortunately, I am very bad working with AppleScript.

Below is the outline of what I it to do, I would love some help as to what the actual script should be.

- run script when a change is made to a birth date in address book or when address book quits
- define list of people (will have an extra alarm, see below)
- search for birthdays entered in address book
- if no event is present in ical calendar named "birthdays" for birthdays found in address book (check name and date)
   + create new all day event in birthday calendar with alarm on date and title "(Name of person)'s Birthday)
- if birthday is on list defined earlier
   + add extra alarm two weeks before the birthday
- display message showing what new events were created when the script ran

I don't think the script would be that complex or long. Any help would be very much appreciated.

I'm not sure how this script could be triggered, but ideally it would run if a change is made to a birthday in address book (or a new one added).