Re: question regarding file types
Re: question regarding file types
- Subject: Re: question regarding file types
- From: Yvan KOENIG <email@hidden>
- Date: Tue, 12 Sep 2006 21:59:33 +0200
Le 12 sept. 2006 à 21:32, Stan Cleveland a écrit :
…
tell application "Finder"
set fileList to document files of folder someFolder whose name
ends with
".mp3" or name ends with ".m4a"
end tell
tell application "Some Audio App"
repeat with thisFile in fileList
set thisFile to thisFile as text
open audio file thisFile
–– do something with the file
end repeat
end tell
why not
tell application "Finder"
set fileList to document files of folder someFolder whose ¬
name extension is in {"mp3", "m4a"}
end tell
Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden