revealmultipleinfinder
PATH

The revealmultipleinfinder statement reveals one or more files or folders in the Finder.


Parameters

This statement has one parameter:

path – is a path to the file or folder to be revealed, including the file or folder name (see Files and Folders for more information about file paths). This parameter may be repeated to reveal multiple items.


Description

This statement reveals one or more documents or applications in the Finder. A new Finder window opens displaying the specified item, with the specified items highlighted. If necessary, multiple Finder windows will be opened so that all of the specified items can be visible. This example will reveal the PDF documents concert-ticket.pdf and movie-ticket.pdf in the Finder.

revealmultipleinfinder "~/downloads/concert-ticket.pdf","~/downloads/movie-ticket.pdf"

In this example three different Finder windows will open, so that all three of these items will be visible even though they are in different folders:

revealmultipleinfinder
    "~/documents/san diego/presentation.keynote",
    "~/documents/portland/newpresentation.keynote",
    "~/documents/fresno/oldpresentation.keynote"

See Also


History

VersionStatusNotes
10.0NewNew in this version.