I have a wholeeee bunch of events in my iCal. Recently I created a script that will send me an SMS 30 min before the event. While I was making the events in the past I would add several alarms. I want a quick way to delete all events and add a new event. I have a script to do that:
tell application "iCal"
tell calendar "Home"
set all_events to every event
repeat with this_event in all_events
tell this_event
delete every sound alarm
delete every display alarm
delete every open file alarm
make new sound alarm at end with properties {trigger interval:-30}
end tell
end repeat
end tell
end tell
But I want to add a Run applescript alarm. Is that part of the open file alarm? Or does that just open a file? The only types of alarms that the ical dictionary shows is: