• 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: Spotlight Plugins don't immediately work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight Plugins don't immediately work?


  • Subject: Re: Spotlight Plugins don't immediately work?
  • From: Lee Morgan <email@hidden>
  • Date: Mon, 2 May 2005 21:58:18 -0400

Your correct, about Spotlight (at least to the best of my knowledge).
And your right again with your suggestion for the Application to handle this problem instead of the plug-in.
A simple fix (for Apple <wink> <wink>) would be to add a Folder Action Script that runs the needed command when a Spotlight plug-in is added to the Spotlight plug-ins folder.
Also on that note a simple Apple Script could work as the installer for a Spotlight plug-in; that way the user doesn't have to interact more than double clicking the script. Just a thought.

- lee


On May 2, 2005, at 7:22 PM, Howard Griffith wrote:

As I understand it Spotlight uses the presence of your plug-in in the

Spotlight plug-ins folder to keep the index up to date with respect to

your data files.


Couldn't you add a check to the initialization of your application to

look for your plug-in in the proper Spotlight folder and if its not

found prompt your user with a dialog asking them if they wish to put

the plug-in in there and update Spotlight (using mdimport and proper

administrative login of course) ? Would that be a bad design principle


 _______________________________________________
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

  • Follow-Ups:
    • Re: Spotlight Plugins don't immediately work?
      • From: Scott Anguish <email@hidden>
References: 
 >Re: Spotlight Plugins don't immediately work? (From: "Sean McBride" <email@hidden>)
 >Re: Spotlight Plugins don't immediately work? (From: Lee Morgan <email@hidden>)
 >Re: Spotlight Plugins don't immediately work? (From: Howard Griffith <email@hidden>)

  • Prev by Date: Re: Bullets in NSTextView
  • Next by Date: keep windows in right place while editing dashboard
  • Previous by thread: Re: Spotlight Plugins don't immediately work?
  • Next by thread: Re: Spotlight Plugins don't immediately work?
  • Index(es):
    • Date
    • Thread