Finder.open
| Syntax |
Finder.open (path, using)
|
| Params |
path is the path name of a file, folder, or volume you wish to open. With Scriptable Finder, path may also be a list of items to open, and may be a Finder specifier, alias, filespec, or pathString. using (Scriptable Finder only, optional) the application to be used to open the item(s) specified by path
|
| Action |
(Original Finder) Has the same effect as choosing "Open" from the Finder's File menu, with the indicated item selected. (Scriptable Finder) If the using parameter is not specified, same as original Finder...with the replacing parameter, the effect is the same as dragging an item or items onto the indicated application.
|
| Returns |
Original Finder true Scriptable Finder a specifier or list of specifiers for the items which were opened.
|
| Examples |
Finder.open ("System:") » true Opens a Finder window on the volume "System."
Finder.open ("System:Frontier Folder:UserLand Frontier") Since an application is named, Finder "opens" (i.e., launches) it.
Finder.open ("System:Documents:Memo to Boss") Since a document is named, Finder launches the application used to create it.
Finder.open ("System.Documents:Memo to Boss", "System:SimpleText") The memo is opened using SimpleText, regardless of what application saved it as a TEXT or PICT file
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
Anything the Finder can open - including desk accessories, font files, sound files, or Control Panels (cDEVs) - can be opened with this verb.
|
| See Also |
Launch Verbs
|