• 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: MDItemCreate very, very, very, slow -- and fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MDItemCreate very, very, very, slow -- and fails


  • Subject: Re: MDItemCreate very, very, very, slow -- and fails
  • From: Vince DeMarco <email@hidden>
  • Date: Wed, 15 Feb 2006 09:46:16 -0800


On Feb 15, 2006, at 9:30 AM, Matt Neuburg wrote:

On or about 2/15/06 9:12 AM, thus spake "Vince DeMarco" <email@hidden>:

The Apple front ends don't call MDItemCreate(), all of them do a
Kaelin suggested.

If you create a query for the items you want, ask the query to sort
the attributes, then instead of asking the server for the items via
MDItemCopyAttribute()..
you ask the query for the value of a sort attribute.

But we have determined (see the earlier thread that Hamish referred to) that
this approach doesn't work for kMDItemPath, which is the attribute I want.
"But there's a *hole* in my bucket, dear Liza, dear Liza..." m.



yes its very very expensive to ask for kMDItemPath, But this approach works for all other attributes except kMDItemPath.


Vince

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide -
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: MDItemCreate very, very, very, slow -- and fails (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: MDItemCreate very, very, very, slow -- and fails
  • Next by Date: Re: File System changes notifications
  • Previous by thread: Re: MDItemCreate very, very, very, slow -- and fails
  • Next by thread: Re: MDItemCreate very, very, very, slow -- and fails
  • Index(es):
    • Date
    • Thread