• 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: Filtering certain calendars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filtering certain calendars


  • Subject: Re: Filtering certain calendars
  • From: Brian Christmas <email@hidden>
  • Date: Thu, 24 May 2012 16:29:49 +1000


On 24/05/2012, at 4:22 PM, Ronald Hofmann wrote:

Hi all,
I have a small script which is supposed do show me a list of certain calendars.
The calendar names in question should ether contain "Holiday" or "Feiertag"

Richt now I have this which works fine:
tell application "iCal"
set theList to calendars whose name contains "Holiday"
end tell

Yes, I know and it´s  not too much. But I got stuck when trying this:
tell application "iCal"
set theList to calendars whose name contains "Holiday" OR  whose name contains "Feiertag"
end tell

Any clues, what I´m doing wrong?


Greetings from Switzerland, Ronald
---


G'day Ronald

Too many 'Whose'

tell application "iCal"
set theList to calendars whose name contains "Holiday" or name contains "Feiertag"
end tell

Regards


Santa
 _______________________________________________
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: 
 >Filtering certain calendars (From: Ronald Hofmann <email@hidden>)

  • Prev by Date: Filtering certain calendars
  • Next by Date: Re: Filtering certain calendars
  • Previous by thread: Filtering certain calendars
  • Next by thread: Re: Filtering certain calendars
  • Index(es):
    • Date
    • Thread