• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do you get iCal to run an Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you get iCal to run an Applescript


  • Subject: Re: How do you get iCal to run an Applescript
  • From: Brian <email@hidden>
  • Date: Tue, 12 Jul 2005 19:31:59 +0200

Le 12 juil. 05, à 18:43, Michelle Steiner a écrit :

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

;)

Bye,

Brian

 _______________________________________________
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

References: 
 >Re: How do you get iCal to run an Applescript (From: Matt Neuburg <email@hidden>)
 >Re: How do you get iCal to run an Applescript (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: How do you get iCal to run an Applescript
  • Next by Date: Re: How do you get iCal to run an Applescript
  • Previous by thread: Re: How do you get iCal to run an Applescript
  • Next by thread: Re: How do you get iCal to run an Applescript
  • Index(es):
    • Date
    • Thread