Re: Puzzled by a whose filter
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