• 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: Puzzled by a whose filter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Puzzled by a whose filter


  • Subject: Re: Puzzled by a whose filter
  • From: Nigel Garvey <email@hidden>
  • Date: Sat, 26 Mar 2011 17:31:30 +0000

KOENIG Yvan wrote on Sat, 26 Mar 2011 16:21:19 +0100:

>tell application "System Events" to set theManuals to name of disk items of
>theFolder whose name extension is in {"PDF", "pages"}
>
>--> error number -1700 from {"PDF", "pages"} to reference

Some applications don't implement that kind of filter. You can either
use the Finder instead or use 'or'.

  tell application "System Events" to set theManuals to name of disk
items of theFolder whose name extension is "PDF" or name extension is "pages".


NG

 _______________________________________________
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

  • Prev by Date: Re: Used to work
  • Next by Date: Re: Hi, can you please remove me from this mailing list?
  • Previous by thread: Re: Puzzled by a whose filter
  • Next by thread: Mail App - plain text
  • Index(es):
    • Date
    • Thread