file.reveal

Syntax file.reveal (f)

Params f is a string or filespec containing a valid path to a file, in the filespec syntax of the operating system that Frontier is running on.

Action Sends a message to the operating system to open the folder containing the file, and to highlight the file.

Returns True if the file identified by f exists, false otherwise.

Examples file.reveal ("System:System Folder:Finder")

   » false

file.reveal ("C:\\Winnt\\Explorer.exe")

   » true

Notes On the Mac, this verb is exactly equivalent to Finder.reveal. This verb was added so that Windows users wouldn't need to call a "Finder" verb.

See Also file.openFolder

Discuss