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: Joe <email@hidden>
- Date: Sat, 20 Oct 2007 21:31:00 -0700
On Oct 20, 2007, at 6:57 PM, Gary (Lists) wrote:
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.
I probably could have used a better subject line. I also need info
for all the sub-folder as well. Especially name and size.
I can't find a way to list folders with the Satimage OSAX. I see that
it can list files recursively but it leaves folders out of the list
that it
builds.
-----------------------------------------------
list files v : the list of the files contained in the folder
list files alias : a folder
[recursively boolean] : default: true
[invisibles boolean] : default: false
[of extension string] : the required file extension, or a list of such
→ list of alias
------------------------------------------------
If Finder's "every folder in the entire contents of "x:y:z:" isn't
broken then I guess I could live with slower - Unless there is
a better way. Thanks Gary.
Joe
_______________________________________________
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