Re: Select Finder items by Regular Expression
Re: Select Finder items by Regular Expression
- Subject: Re: Select Finder items by Regular Expression
- From: Matt Deatherage <email@hidden>
- Date: Tue, 6 Sep 2005 13:49:50 -0500
On 9/6/05 at 10:19 AM, Bruce Robertson <email@hidden> wrote:
> > On 9/5/05 at 1:15 AM, Bruce Robertson <email@hidden> wrote:
> >
> >> I thought "entire contents of startup disk" was an ongoing, known
> >> applescript bug.
> >
> But in my case the request should return about 3 files, not 900,000.
This confused me mightily, because there's no way a "startup disk" can
have just 3 files on it. Then I saw the original context:
>> tell application "Finder"
>> files of entire contents of startup disk whose name contains "Fun" ¬
>> and name extension is "jpg"
>> end tell
My understanding was that Finder would first build "entire contents of startup disk", which would take a long long time, and then filter it. Even if not, the code probably still iterates through all items on the boot volume, since Finder can return properties that PBCatalogSearchSync cannot, like index, position, and comment.
--
Matt Deatherage <email@hidden>
GCSF, Incorporated <http://www.macjournals.com>
I learn something new every day, and most days I don't like it.
Now Playing "Jazzman" by Carole King, from "Her Greatest Hits: Songs of Long Ago"
_______________________________________________
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