Handbook
Glossary
mdfind. ( query -- )
Vocabulary
spotlight
Inputs
query
a
string
Outputs
None
Word description
Similar to
mdfind
, but prints out the results as a list of
pathname
objects, allowing you to right-click and "Open File" if used with the
webbrowser
vocabulary.
Definition
USING:
io
io.pathnames
io.styles
kernel
sequences
;
IN:
spotlight
:
mdfind.
( query -- )
mdfind
[
dup
<pathname>
write-object
nl
]
each
;