Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

SystemInfo.MacMajorVersion

Returns the major Mac OS version number.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 2.8 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "SystemInfo.MacMajorVersion" )

Parameters

none

Result

The major version number.

Description

Returns the major Mac OS version number.
In macOS 10.4.17 this would be the decimal value 10.

On macOS Big Sur, this returns 11 in Apple Silicon application and 10 in Intel application.
On macOS Monterey this returns 12. For older FileMaker versions, the Intel version may also report 10.16.

Examples

Shows Mac OS Version:

Show Custom Dialog ["OS Version"; MBS( "SystemInfo.MacMajorVersion" ) & "." & MBS( "SystemInfo.MacMinorVersion" ) & "." & MBS( "SystemInfo.MacBugFixVersion" ) ]

See also

This function is free to use.

Created 18th August 2014, last changed 28th January 2023


SystemInfo.MacHasHardwareAcceleratedCoreImage - SystemInfo.MacMinorVersion

💬 Ask a question or report a problem