Re: Is it a normal behavior ?
Re: Is it a normal behavior ?
- Subject: Re: Is it a normal behavior ?
- From: Thomas Fischer <email@hidden>
- Date: Sun, 02 Oct 2011 18:04:24 +0200
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.
Cheers Thomas
Am 02.10.2011 um 12:43 schrieb KOENIG Yvan: set this_folder to (choose folder) as string tell application "System Events" set these_files to every file of folder this_folder whose type identifier is in {"public.tiff", "public.jpeg"} end tell
|
_______________________________________________
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