setIsZoomed(_:) Sets the window’s zoomed state to the value you specify. Declarationfunc setIsZoomed(_ flag: Bool) See AlsoSetting Scripting AttributessetIsMiniaturized(_:)setIsVisible(_:)