Finder.print
| Syntax |
Finder.print (obj)
|
| Params |
(Original Finder) obj is the path name to a document you wish to print from the Finder. (Scriptable Finder) obj is the same as with the original Finder, or a specifier for a file or container (or a list of such specifiers).
|
| Action |
(Original Finder) The effect is the same as selecting the item in Finder, then selecting Print from Finder's File menu. (Scriptable Finder) For each file specified by obj, the effect is as above. For each container, the effect is like having that container's window in front and selecting PrintWindow from Finder's File menu.
|
| Returns |
(Original Finder) true (Scriptable Finder) a specifier or list of specifiers of the items and container windows printed
|
| Examples |
Finder.print ("System:Documents:Sample Memo") » true « original Finder; or » startupDisk.folder["Documents"].file["Sample Memo"]
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Errors |
If you attempt to print an unprintable object (such as a folder or an application), Finder.print does not print but this is not an error. Scriptable Finder reports an error if you specify a non-existent item to print.
|
| Notes |
If the document in path was created by an application that cannot be found, the Finder produces an error and notifies the user of a need to be brought to the front.
|
| See Also |
Finder.printWindow
|