• 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: Scripting iCal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting iCal


  • Subject: Re: Scripting iCal
  • From: bill <email@hidden>
  • Date: Wed, 16 Oct 2002 20:52:57 +0800

> Is there a way to make an event "al-day event" through scripting?
>

Jean,

Try to set the time string of start date to midnight, that9s 00:00:00;
without setting the end date; afterward, restart iCal, then you9ll have an
all day event.

Example:

set sDate to date "Friday, 18 October 2002 00:00:00"
tell application "iCal"
activate
make new event at end of last calendar with properties {start
date:sDate, summary:"triste au minuit"}
quit
end tell
delay 1
tell application "iCal" to activate


bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Scripting iCal
      • From: "John C. Welch" <email@hidden>
  • Prev by Date: Re: scripting ftp in the terminal
  • Next by Date: Re: Scripting iCal
  • Previous by thread: Scripting iCal
  • Next by thread: Re: Scripting iCal
  • Index(es):
    • Date
    • Thread