Reference > Functions reference > Get functions > Get(SystemAppearance)
 

Get(SystemAppearance)

Returns the name of the current operating system appearance.

Format 

Get ( SystemAppearance )

Parameters 

None

Data type returned 

text

Originated in version 

6.0 or earlier

Description 

In Windows, this function returns the current high contrast default color scheme name if the high contrast option is enabled in Windows Settings under Ease of Access and if high contrast color scheme is active. Returns an empty string if the option is unavailable or inactive.

In macOS, iOS, and iPadOS, this function returns the current system appearance name. You can use this to detect when the system is using the dark appearance (Dark Mode).

Notes 

In FileMaker WebDirect, this function is not supported and returns an empty string.

Example 1 

Returns High Contrast White when the Windows theme is set to High Contrast White.

Example 2 

Returns DarkAqua when macOS uses the dark system appearance; returns Aqua when when it uses the light appearance.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas