Re: What's in an iCal url?
Re: What's in an iCal url?
- Subject: Re: What's in an iCal url?
- From: Emmanuel LEVY <email@hidden>
- Date: Fri, 13 Aug 2010 08:37:49 +0200
On Aug 13, 2010, at 3:17 AM, Gil Dawson wrote:
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?
Maybe a URL?
I mean, "some place" is not a url, there is a space in it.
"X" is a legal URL, a relative URL, but all right.
Emmanuel _______________________________________________
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