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

iCal help


  • Subject: iCal help
  • From: Bob Cuilla <email@hidden>
  • Date: Thu, 18 Oct 2007 11:19:50 -0400

Hello All:


I am scripting iCal quite succesfully and have a question regarding "all-day-events"

Here is a snippet of what I  am using. Works fine.


tell application  "iCal"
tell calendar  "TEC Events"
set theStartDate to current date
set the year of theStartDate to 2007
set the month of theStartDate to 10
set the day of theStartDate to 25
set the hours of theStartDate to 12
set the minutes of theStartDate to 15
set the seconds of theStartDate to 0 
set theStopDate to current date
set the year of theStopDate to 2007
set the month of theStopDate to 10
set the day of theStopDate to 25
set the hours of theStopDate to 13
set the minutes of theStopDate to 30
set the seconds of theStopDate to 0 
end tell


However, sometimes when I dont have start and stop times I want an all-day event.

Can I select "all-day" event through AS?

Thanks

Bob


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: iCal help
      • From: Peter Baxter <email@hidden>
  • Prev by Date: Re: Folder deletion
  • Next by Date: iCal updates with new events
  • Previous by thread: Re: Folder deletion
  • Next by thread: Re: iCal help
  • Index(es):
    • Date
    • Thread