• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Select Finder items by Regular Expression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Select Finder items by Regular Expression (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Setting Mail's IMAP path prefix using AppleScript
  • Next by Date: Re: Creating a folder on the desktop
  • Previous by thread: Re: Select Finder items by Regular Expression
  • Next by thread: Re: Select Finder items by Regular Expression
  • Index(es):
    • Date
    • Thread