• 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 20:56:17 +0200

Le 12 juil. 05, à 20:26, Michelle Steiner a écrit :

There's no difference, except for the equal sign

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

if (foo is greater than 23) or (foo is less than 7) then

iCal was set to run it at 11 PM and 7 AM.

If your script run at 11PM (23), foo is not greater than 23 (it is equal), this is the same at 7AM,
foo is not less than 7...

Your script works very well here, I put it in the 'Mail Scripts' folder, as a compiled script like Matt say.

But I have to change the

set foo to hours of (current date)

in


set foo to (time of (current date)) / 3600

it cause me a "Can't get..." error, but I'm still on Panther (until I finish a little job)...

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

  • Follow-Ups:
    • Re: How do you get iCal to run an Applescript
      • From: Michelle Steiner <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>)
 >Re: How do you get iCal to run an Applescript (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Big lists in top level variables = stack overflow
  • Next by Date: Re: General question about what is possible re: AS driving JavaScript
  • 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