Re: read a file - Lion vrs Tiger
Re: read a file - Lion vrs Tiger
- Subject: Re: read a file - Lion vrs Tiger
- From: Shane Stanley <email@hidden>
- Date: Thu, 27 Sep 2012 09:10:33 +1000
On 27/09/2012, at 3:26 AM, Jim Brandt <email@hidden> wrote:
tell application "Finder" to set nm to name of eachFile tell application "Finder" to set knd to kind of eachFile as text
I'd try to get rid of both of these lines -- the Finder is notoriously slow. You don't need it for the name -- you can use text item delimiters to extract it -- and kind is pointless these days -- you'd be better off filtering by file extension.
|
_______________________________________________
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