Re: Is it a normal behavior ?
Re: Is it a normal behavior ?
- Subject: Re: Is it a normal behavior ?
- From: Shane Stanley <email@hidden>
- Date: Sun, 02 Oct 2011 22:42:09 +1100
On 02/10/2011, at 9:43 PM, KOENIG Yvan wrote:
>
> set these_files to every file of folder this_folder whose type identifier is in {"public.tiff", "public.jpeg"}
I've found collections in whose clauses unreliable for quite a while. I had several scripts that broke because of a change in AS behavior like this in, I think, 10.6 -- although it could have been earlier. I now always use the form:
set these_files to every file of folder this_folder whose type identifier is "public.tiff" or type identifier is "public.jpeg"
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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