• 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: Applescript-users Digest, Vol 3, Issue 79
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript-users Digest, Vol 3, Issue 79


  • Subject: Re: Applescript-users Digest, Vol 3, Issue 79
  • From: John M <email@hidden>
  • Date: Wed, 8 Feb 2006 09:08:19 +0000

Hi David,

Your first option works as you are getting a list returned. A singe variable with 'missing value' returns an error. You could try coercing the data to a variable (like text or list).

tell application "iCal"
	set x to (description of calendar 1) as list
	x
end tell


As Paul Berkowitz says this is not the name of the calendar.

John M


On 8 Feb 2006, at 08:34, email@hidden wrote:


From: David Crowe <email@hidden>
Subject: iCal Mystery -- description of calendar when description is
	missing value
To: email@hidden
Message-ID: <p0623097ec00f31c2e9c9@[192.168.1.14]>
Content-Type: text/plain; charset="us-ascii"

Almost all of my calendar names in iCal are 'missing value', as shown by:

tell application "iCal"
	description of every calendar
end tell
--> {missing value, missing value, missing value....}


But if I try to get the description of one calendar I have a problem:

tell application "iCal" to tell calendar 1
	set x to description
	x
end tell
--> ERROR: Variable x is not defined


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: App scripts in system script menu
  • Next by Date: Re: Another Shell Script question ftp
  • Previous by thread: Re: iCal Mystery -- description of calendar when description is missing value
  • Next by thread: Font issue in quark
  • Index(es):
    • Date
    • Thread