Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

gestalt

gestalt

(Macintosh only) Retrieves information about the operating environment.

Method of

Install object

Syntax

int gestalt ( String selector );

Parameters

The gestalt method takes the following parameters:

selector
The selector code for the information you want.

Returns

Returns the requested information. The format depends on the select code specified in the selector parameter.

Description

The gestalt method is a wrapper for the gestalt function of the Macintosh Toolbox. For information on that function, see Inside Macintosh: Operating System Utilities. This method returns null on Unix and Windows platforms.

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Fredchat, Rod Whiteley
 Last updated by: Sheppy,