Re: Get info for items in a folder
Re: Get info for items in a folder
- Subject: Re: Get info for items in a folder
- From: "Gary (Lists)" <email@hidden>
- Date: Sat, 20 Oct 2007 21:57:58 -0400
- Thread-topic: Get info for items in a folder
"Joe" wrote:
> I am trying to write a script that will let me crawl through the
> contents of a folder
> returning some information about each item contained therein. I have
> a rough
> script structure (below) but I wanted to get a reality check before
> continuing.
>
> One of the lines of the script uses "entire contents." I have read in
> the list
> archives both that was broken and that it was fixed. My own tests
> with small
> folder trees is that it works. Any feedback about "every folder in
> the entire
> contents of x" (?)
>
> The script requires the Satimage OSAX as well.
I don't have time to make script edits right now, but I did read your
script. If you are already using Satimage.osax, then you don't need to
worry about the (slower) Finder 'entire contents', since the exact command
you already use from Satimage.osax can do that for you as well.
Not to optimize too early, but multiple app/osax calls adds time, and when
recursively looking at folder hierarchies, you'll want the simplicity of one
set of commands and of one tool.
Re-read the dictionary entry for the 'list files' command and you'll see
that it can handle with or without recursion.
In general, and the way of your request for a "reality check", I think
you're plan is basically sound and you're on the right track, Joe.
--
Gary
_______________________________________________
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