Finder.grow

Syntax Finder.grow (pathToFolder, horiz, vert)

Params pathToFolder is the path name of the folder whose Finder window you wish to resize.

horiz is a number indicating the number of pixels wide you wish the window to be.

vert is a number indicating the number of pixels high you wish the window to be.

Action Resizes the window associated with the folder at pathToFolder so that it is vert pixels high and horiz pixels wide.

Returns True

Examples Finder.grow ("System:System Folder", 200, 300)
» true

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

Notes If the folder or volume is not already open in a window, this verb opens the window first and then resizes it.

This verb is retained for use with the original Finder. For the Scriptable Finder, consider doing a set of the bounds, position, or size property of the window associated with some container.

See Also Finder.setPosition

Finder.zoomWindow

Discuss