Event alarm in iCal

Does anyone know how to add a reminder alarm to a iCal event?

I have a Sony Ericsson T610 which I can sync with Address Book and iCal but the “All Day” Events do not sync. I have found a script that will create a new Calender in iCal containing all the “All Day” events as appointments between 1 and 4am on the correct day but it does not include a reminder alarm. I would like to add a reminder alarm to each appointment if one was set in the original calender.

Any help would be appreciated.

This isn’t a complete solution to your problem but the commands:

tell application “iCal”
tell calendar 1
set eventnumber to count each event
make new display alarm at the end of display alarms of event eventnumber with properties {trigger interval:-15}
end tell
end tell

sets up a display alarm reminder for the final event in an ical calendar.

You might be able to adapt it to your needs.