• 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
Checking whether Spotlight indexing is enabled for a volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checking whether Spotlight indexing is enabled for a volume


  • Subject: Checking whether Spotlight indexing is enabled for a volume
  • From: Rob Keniger <email@hidden>
  • Date: Wed, 13 Aug 2008 19:53:32 +1000

Hi,

Is there any way to see if a volume has Spotlight indexing enabled short of calling mdutil via NSTask and parsing the results? I can't find anything in the docs that would return this information. What API is mdutil calling to get this info?

I would have thought this was a very common request, it doesn't make sense to go to the trouble of creating an NSMetadataQuery if it is always going to return an empty result because indexing is disabled.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Allowing menu item selection in a modal session
  • Next by Date: Re: Programmatic removal of an object..
  • Previous by thread: Re: Allowing menu item selection in a modal session
  • Next by thread: Re: try this for fadebackin
  • Index(es):
    • Date
    • Thread