OSX - Spotlight indexing Rev Stacks
bdrunrev at gmail.com
Thu Feb 12 03:24:33 CST 2009
I seem to remember some years ago that one of the updates to Rev was that
stacks would become indexable by Spotlight. Maybe that only related to the
script of the stack rather than the stack's contents.
I don't use Spotlight much at all, but having a look around there seems to
be the mdimport tool. The Man page for this says it has these options:
-f Force mdimport to scan the files, bypassing path filtering
-r Ask the server to reimport files for UTIs claimed by the
listed plugin. For example, the following would cause all
the chat files on the system to be reimported:
mdimport -r /System/Library/Spotlight/Chat.mdimporter
That looks like one can manually add files to the Spotlight index. However,
it looks like one might need a specific plugin like 'Chat.mdimporter'.
These are OS X bundles that contain an executable in their core. The one I
looked at (vCard.mdimporter) appears to be written in Obj C.
However, it looks to me like the plugin needs to meet the specifications set
out in this document:
The plugin bundle core needs to be executable. Maybe one could write a Rev
application and bundle it up and the indexing program would call it? For
example, it appears here that someone wrote a specific importer in Python:
I expect you know this much already.
On Wed, Feb 11, 2009 at 8:19 PM, Jim Ault <JimAultWins at yahoo.com> wrote:
> Is there a way of allowing/forcing the indexing of a stack containing
> field data?
> custom properties?
> This would make the content searchable using the built-in OSX Spotlight
> option ŒContents¹
> Indexing occurs for programs that are ŒSpotlight-friendly¹, such as Adobe
> Of course, setting the Spotlight comments of the stack file would work, but
> is very limited compared to a stack that contains data such as code,
> notes, and demo stacks with notes, such as So Smart Tutorials.
> Jim Ault
> Las Vegas
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode