Re: iCal alarm scripts
Re: iCal alarm scripts
- Subject: Re: iCal alarm scripts
- From: Bruce Horrocks <email@hidden>
- Date: Wed, 13 Jan 2010 04:52:12 +0000
On 12/01/2010 04:44, email@hidden wrote:
Or, you could make a new copy of the script for each event that might
call it. So if the event Wife's birthday calls the script
WifesBirthday, it's much easier to figure out what event called the
script.
Thanks Ed, it looks as though this is going to be the only option. I
didn't want to do that in order to make things a bit more end-user
friendly. (I wonder if an AppleScript can also be a stationery pad?) :-)
A bit more investigation into iCal shows that Apple didn't do much of a
job in testing its AppleScript. For example, create a new calendar
called test and create a single event with a message alarm. Then run:
tell application "iCal"
set myCal to calendar "test"
get summary of events of myCal
--> {"Test event"}
get trigger date of display alarms of events of myCal
--> {{missing value}}
end tell
The final nail in the coffin is that there isn't a type for "run
applescript alarm" so they can't be selected anyway.
(All the above on Snow Leopard)
--
Bruce Horrocks
Surrey
England
(bruce at scorecrow dot com)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden