Finder.printWindow

Syntax Finder.printWindow (pathToFolder)

Params pathToFolder is the path name of the Finder window whose contents you wish to print.

Action Opens the folder's window if it is not yet open and invokes the Finder's Print Window command from the File menu, bringing the Finder to the front. This displays a print dialog, with which the user must interact to carry out the printing.

Returns True

Examples Finder.printWindow ("System:System Folder:Control Panels:")
» true

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes This verb works with the original Finder.

For the Scriptable Finder, it is probably better to use Finder.print (), specifying some open window.

See Also Finder.bringToFront

Discuss