Re: Spotlight Plugins don't immediately work?
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