Hi,
somebody knows if the default search-mode of Leopard is changable?
i mean panther was much more efficient to find files as leopard actually does: as idea, i want to perform searches via -find and not by -locate…
is:
--Spotlight folder indexer
set x to choose folder with prompt "Welchen Ordner Indizieren ?"--which folder should be indexed?
set cc to POSIX path of x
do shell script ("mdimport" & space & "-f" & space & cc as text)
the only way to get up to date results in the search-window with command+f ?
(please don’t talk me from spotlight)
you cannot change any display parameters in the search window, but although
Spotlight is the most effective way to search.
by the way, your script doesn’t work if the folder path contains space characters
set x to choose folder with prompt "Welchen Ordner Indizieren ?" --which folder should be indexed?
set cc to POSIX path of x
do shell script "mdimport - f " & quoted form of cc
i can’t believe it, man. You prefer -locate instead of -find?
you really don’t remember the apple+f command in Panther?
(i’ve not and i will never use this mode because not reliable, and so i’m forced to use “Easyfind”)
i mean -find is truly better than -locate, for the simple reason you have to reconstruct the database if the results of spotlight will be reliable.
Ah, my script was done in a couple of seconds, performing indexing on two folders without space…but thanks.