window.getSize
| Syntax |
window.getSize (title, widthAddr, heightAddr)
|
| Params |
title is the name of a window. widthAddr is the Object Database location where you wish the window's width to be stored. heightAddr is the Object Database location where you wish the window's height to be stored.
|
| Action |
Gets the size of a window.
|
| Returns |
True if the window is open and widthAddr and heightAddr are set, false otherwise.
|
| Examples |
window.getSize (window.frontmost (), @h, @v); point.set (h, v) » 402,200
Open the examples window. Now type and execute: msg (h + "pixels by " + v + " pixels.")
The return value displays in the About Frontier window. |
| See Also |
window.setSize
|