file.openFolder
| Syntax |
file.openFolder (path)
|
| Params |
path is a legal path name to the folder you wish to open.
|
| Action |
Sends a message to the operating system to open the indicated folder on the desktop.
|
| Returns |
True if the object identified by the path parameter is a folder, false otherwise.
|
| Examples |
file.openFolder (Frontier.pathstring) //open the Frontier folder » true
file.openFolder (file.getSystemFolderPath ()) //open the operating system folder
file.openFolder ("System:System Folder:Finder") //Mac-formatted path
file.openFolder ("C:\\Winnt\\Explorer.exe") //Windows-formatted path
|
| Notes |
file.openFolder checks to see that it's a path to a folder before passing it on. If the folder at path is already open, this verb brings it to the front. On the Mac, this action automatically brings the Finder to the front.
|
| See Also |
file.reveal
|