Finder.zoomWindow
| Syntax |
Finder.zoomWindow (pathToFolder, zoom)
|
| Params |
pathToFolder is the path name of the folder whose window you wish to zoom in or out. zoom is a boolean value indicating whether to zoom the window out (if true) or in (if false).
|
| Action |
Changes the zoomed state of the window displaying the folder at pathToFolder, if necessary, to in or out, depending on the value in zoom. It opens the window if necessary.
|
| Returns |
True
|
| Examples |
Finder.zoomWindow ("System Folder:", true) » true
Zooms System Folder's window open if it isn't already.
Zooms System Folder's window in (to its original, un-zoomed size) if it isn't already. |
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
With Scriptable Finder, you can set the window's zoomed property to true or false using Finder.set () This verb emulates the behavior of the zoom icon in a Macintosh window, acting as a toggle. Zooming behavior is slightly different between System 6 and System 7.
|