• 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
What's in an iCal url?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What's in an iCal url?


  • Subject: What's in an iCal url?
  • From: Gil Dawson <email@hidden>
  • Date: Thu, 12 Aug 2010 18:17:58 -0700

This works:

tell application "iCal"
tell calendar "MCCVin"
set theNewEvent to ¬
make new event at end of events ¬
with properties ¬
{start date:current date} & ¬
{summary:"a summary"} & ¬
{location:"somewhere"} & ¬
{url:"X"}

log "" & url of theNewEvent --> (*X*)

end tell
end tell

This doesn't:

tell application "iCal"
tell calendar "MCCVin"
set theNewEvent to ¬
make new event at end of events ¬
with properties ¬
{start date:current date} & ¬
{summary:"a summary"} & ¬
{location:"somewhere"} & ¬
{url:"some place on the web"}

log "" & url of theNewEvent --> (*missing value*)

end tell
end tell

Any idea what's legal in an iCal url?

--Gil

[Using AppleScript Editor Version 213 (118), AppleScript 2.1.2, ical Version 4.0.3 (1388), MacOS X Version 10.6.4]


 _______________________________________________
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: What's in an iCal url?
      • From: Emmanuel LEVY <email@hidden>
References: 
 >symlinks (From: Luther Fuller <email@hidden>)
 >Re: symlinks (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: symlinks
  • Next by Date: Re: What's in an iCal url?
  • Previous by thread: Re: symlinks
  • Next by thread: Re: What's in an iCal url?
  • Index(es):
    • Date
    • Thread