Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
What's in an iCal url?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What's in an iCal url?



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

References: 
 >symlinks (From: Luther Fuller <email@hidden>)
 >Re: symlinks (From: Stan Cleveland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.