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

Scripting iCal


  • Subject: Scripting iCal
  • From: Ben Gummer <email@hidden>
  • Date: Thu, 5 Feb 2004 07:44:44 +1100

Hi everyone,
I am trying to write an applescript that makes a new item with a
certain start time, summary etc. I have tried the following code but it
doesn't work.

tell application "iCal"
set theItem to (make new event with properties {start date = date
"Friday, 6 February 2004 7:35:00 AM", summary = "TheTitle"})
activate
show theItem
end tell

Any help is great,
Ben Gummer.
_______________________________________________
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: Michael Grant <email@hidden>
    • Re: Scripting iCal
      • From: Rob Jorgensen <email@hidden>
    • Re: Scripting iCal
      • From: Andrew Oliver <email@hidden>
    • Do shell script on a remote machine
      • From: "John C. Welch" <email@hidden>
  • Prev by Date: Re: Very basic "write to file" query
  • Next by Date: Re: Very basic "write to file" query
  • Previous by thread: Re: Very basic "write to file" query
  • Next by thread: Do shell script on a remote machine
  • Index(es):
    • Date
    • Thread