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.isMacOSX

Returns 1 if being called on macOS.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 2.8 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SystemInfo.isMacOSX" )

Parameters

none

Result

Returns 1 or 0.

Description

Returns 1 if being called on macOS.

Examples

Try it:

Show Custom Dialog [ "MacOS?" ;
    If( MBS("SystemInfo.isMacOSX"); "yes"; "no") ]

See also

Example Databases

Blog Entries

This function is free to use.

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


SystemInfo.isLion - SystemInfo.isMavericks

💬 Ask a question or report a problem