IsWindows
---------

Whether we run on Windows.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Plugin](component_Plugin.md) | [6.1](newinversion61.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "IsWindows" ) ### Parameters

none

### Result

Returns 1, 0 or error.

### Description

Whether we run on Windows.  
Returns 1 if running on Windows and 0 if not.  
  
See also [IsMacOS](IsMacOS.md), [IsLinux](IsLinux.md) and [IsIOS](IsIOS.md).  
### Examples

Register LibXL for MBS Plugin

 If \[ MBS ("[XL.IsInitialized](XLIsInitialized.md)") ≠ 1 \]  
 If \[ MBS ("IsMacOS") \]  
 Set Variable \[ $r ; Value: MBS ( "[XL.Initialize](XLInitialize.md)"; $path ; "xxx"; "mac-xxx" )\]  
 Else If \[ MBS ("IsWindows") \]  
 Set Variable \[ $r ; Value: MBS ( "[XL.Initialize](XLInitialize.md)"; $path ; "xxx"; "win-xxx" )\]  
 Else If \[ MBS ("IsLinux") \]  
 Set Variable \[ $r ; Value: MBS ( "[XL.Initialize](XLInitialize.md)"; $path ; "xxx"; "linux-xxx" )\]  
 Else If \[ MBS ("IsIOS") \]  
 Set Variable \[ $r ; Value: MBS ( "[XL.Initialize](XLInitialize.md)"; $path ; "xxx"; "ios-xxx" )\]  
 Else  
 Set Variable \[ $r ; Value: "new platform?" \]  
 End If  
 If \[$r ≠ "OK"\]  
 Show Custom Dialog \["Problem with LibXL Registration"; $r \]  
 End If  
End If  
### See also

- [AVRecorder.RequestAccessForMediaType](AVRecorderRequestAccessForMediaType.md)
- [DynaPDF.Initialize](DynaPDFInitialize.md)
- [IsIOS](IsIOS.md)
- [IsMacOS](IsMacOS.md)
- [IsRegistered](IsRegistered.md)
- [PDFKit.GetPDFPageImage](PDFKitGetPDFPageImage.md)
- [Register](Register.md)
- [SQL.SetConnectionOption](SQLSetConnectionOption.md)
- [WinPDF.PageImageAtSize](WinPDFPageImageAtSize.md)
- [XL.Initialize](XLInitialize.md)

### Blog Entries

- [Validate electronic invoices with Saxon](https://www.mbsplugins.de/archive/2026-03-20/Validate_electronic_invoices_w/monkeybreadsoftware_blog_filemaker)
- [Visualize electronic invoices with Saxon](https://www.mbsplugins.de/archive/2026-03-16/Visualize_electronic_invoices_/monkeybreadsoftware_blog_filemaker)
- [Validate electronic invoices with Saxon](https://www.mbsplugins.de/archive/2025-02-18/Validate_electronic_invoices_w/monkeybreadsoftware_blog_filemaker)
- [Visualize electronic invoices with Saxon](https://www.mbsplugins.de/archive/2025-02-17/Visualize_electronic_invoices_/monkeybreadsoftware_blog_filemaker)
- [Add a WebViewer to an Overlay window](https://www.mbsplugins.de/archive/2024-11-13/Add_a_WebViewer_to_an_Overlay_/monkeybreadsoftware_blog_filemaker)
- [Using Python in FileMaker](https://www.mbsplugins.de/archive/2024-06-24/Using_Python_in_FileMaker/monkeybreadsoftware_blog_filemaker)
- [Convert Office Files in FileMaker](https://www.mbsplugins.de/archive/2022-07-04/Convert_Office_Files_in_FileMa/monkeybreadsoftware_blog_filemaker)
- [Automatically install MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2020-05-20/Automatically_install_MBS_File/monkeybreadsoftware_blog_filemaker)
- [Use root certificates included with FileMaker](https://www.mbsplugins.de/archive/2018-11-05/Use_root_certificates_included/monkeybreadsoftware_blog_filemaker)
- [Properly register MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2016-09-15/Properly_register_MBS_FileMake/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 2nd March 2016 , last changed 9th December 2020

  
[IsServer](IsServer.md) - [JS.AddFileMakerEvaluateFunction](JSAddFileMakerEvaluateFunction.md)

[HTML Version](IsWindows.shtml)