Spotlight Meta-Data Importer Plugin para InDesign

matrix

Colaborador
Hay muchos usuarios que se preguntan si pueden buscar archivos de InDesign con . Para muchos usuarios de InDesign, esta capacidad ha sido una frustración desde que Spotlight se presentó con Tiger en abril de 2005. Ahora hay algo para los usuarios InDesign CS5 o CS5.5.

John Hawkinson nos avanza este . Recomienda instalarlo, utilizando Terminal para reindexar determinados archivos o carpetas mediante:

mdimport /Users/UserName/ruta/ir/archivo/O/Carpeta


Podemos forzar a que el archivo sea indexado con:

mdimport /Users/myname/path/to/file.indd

[SPOLIER]
ALPHA-QUALITY SOFTWARE ALERT

Download
Entra para completar la lectura Conectarse o registrarse ahora.

and install InDesignImporter.mdimporter into ~/Library/Spotlight. (Or the /Library version if you want to live dangerously.)

I'm not sure if spotlight will automatically reindex old files.

This is alpha-quality software. It's prototyped as a slow and rather painful perl script that walks through the INDD file looking for things that look like strings (generally they start with -signs), and then outputting them to Spotlight. It will produce some false positives, perhaps things like the names of styles and fonts that are encoded in your InDesign document. It will probably miss some strings. It might even crash the Spotlight importer process (mdimport).

You can force a file to be indexed by typing

mdimport /Users/myname/path/to/file.indd

and if you add -d 1

mdimport -d 1 /Users/myname/path/to/file.indd

it'll tell you which spotlight importer is being used, and -d 2 will show you the metadata it finds for the file.

I didn't actually bother pulling out the XMP metadata, though that's "easy." I spent most of the time bashing on the full text part.

Oh, it also screws up unicode characters. In part because it excludes them as part of its heuristic for what is a string and what is not, but that's kind of messed up. Anyhow, it outputs them as literal "U+2019" for a right apostrophe.

Anyhow, let me know how it works for you. Oh, yeah, it's slow. Because it wasn't really written efficiently...

Oh, and it only looks for CS5 [and CS5.5] files (type IDd7). That'd be easy to change, by editing the Info.plist file.

Let me know how it works. Not really sure if there's much point in making it better...easy to do though.

source:
Entra para completar la lectura Conectarse o registrarse ahora.


[/SPOLIER]
 
Arriba