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

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

  • Prev by Date: What's in an iCal url?
  • Next by Date: Re: How to speed up execution time of this script
  • Previous by thread: What's in an iCal url?
  • Next by thread: Re: What's in an iCal url?
  • Index(es):
    • Date
    • Thread