Why not just this? Creating a new SCWindow is superfluous if all you want is the width and height.Occam's Razor, folks! Cut out unnecessary complication. w = SCWindow.screenBounds; w = [w.width, w.height]
// or for minimum line count w = SCWindow.screenBounds.extent.asArray; a -- -- Alberto de Campo Bergstrasse 59/33 A-8020 Graz, Austria e-mail : decampo@xxxxxx --