Re: Is it a normal behavior ?
Re: Is it a normal behavior ?
- Subject: Re: Is it a normal behavior ?
- From: KOENIG Yvan <email@hidden>
- Date: Sun, 02 Oct 2011 18:25:56 +0200
Le 2 oct. 2011 à 18:04, Thomas Fischer a écrit :
> Hello Yvan,
>
> it seems that this is normal in so far as System Events doesn't seem to handle
> set these_files to every file of folder this_folder whose type identifier is in {"public.tiff", "public.jpeg"}
> but only
> set these_files to every file of folder this_folder whose type identifier is "public.tiff"
>
> I don't know if this helps, but
>
> set this_folder to (choose folder)
> tell application "Finder"
> set these_files to every file of folder this_folder whose kind is in {"JPEG-Bild", "TIFF-Bild"}
> end tell
>
> works.
Thanks
It may be interesting for using working with Finder.
On my side I try to use it only for tasks related to the GUI.
When I work upon files, folders… I dropped it since about two years.
I don't want to work upon such items thru an added layer of code.
Yvan KOENIG (VALLAURIS, France) dimanche 2 octobre 2011 18:25:50
_______________________________________________
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