Re: Applescript-users Digest, Vol 2, Issue 627
Re: Applescript-users Digest, Vol 2, Issue 627
- Subject: Re: Applescript-users Digest, Vol 2, Issue 627
- From: chet kelley <email@hidden>
- Date: Thu, 29 Sep 2005 22:35:40 -0400
set today to the weekday of (current date) set now to date string of (current date) tell application "iCal" if (today is Saturday) or (today is Sunday) or (exists (event in calendar "Work" whose start date ≤ date now and end date ≥ date now) or (event in calendar "U.S. Federal Holidays" whose start date ≤ date now and end date ≥ date now)) then display dialog "have fun sleeping in" else tell application "iTunes" to play track "Hells Bells" end if end tell
On Sep 29, 2005, at 10:15 PM, Dave Lyons wrote: On Sep 29, 2005, at 5:07 PM, chet kelley wrote:
"iCal got a "iCal got an error: Can't make event of calendar \"Work\" whose start date ≤ date \"Thursday, September 29, 2005\" and end date ≥ date \"Thursday, September 29, 2005\" into type reference."
Can you post the part of the script that gets that error? I don't see calendar "Work" mentioned in any previous message.
Cheers,
--Dave
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden