Re: How do you get iCal to run an Applescript
Re: How do you get iCal to run an Applescript
- Subject: Re: How do you get iCal to run an Applescript
- From: Michelle Steiner <email@hidden>
- Date: Tue, 12 Jul 2005 11:26:01 -0700
On Jul 12, 2005, at 10:30 AM, Brian Dréau wrote: set foo to hours of (current date) tell application "Mail" if (foo is greater than 23) or (foo is less than 7) then set fetch interval to 60 else set fetch interval to 5 end if end tell
iCal was set to run it at 11 PM and 7 AM.
Hello,
Maybe it will work better if you use :
if (foo ≥ 23) or (foo ≤ 7) then
There's no difference, except for the equal sign, but I will change the times of execution iCal to see if that makes a difference.
However, it does not run even from the command line, when it's not near a boundary condition time of day.
-- Michelle
-- I am only one, but still I am one. I cannot do everything, but still I can do something; and because I cannot do everything, I will not refuse to so something I can do. --Edward Everett Hale
|
_______________________________________________
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