Preview.Available
-----------------

Queries whether preview is available.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Preview](component_Preview.md) | [13.3](newinversion133.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Preview.Available" ) ### Parameters

none

### Result

Returns 1, 0 or error.

### Description

Queries whether preview is available.  
Returns 1 on Windows 10 if component is found.  
Returns 0 on Windows 8.  
Returns 1 on MacOS.  
### Examples

Check preview:

 If \[ MBS ( "Preview.Available" ) \]   
 Show Custom Dialog \[ "Preview available." \]   
Else  
 Show Custom Dialog \[ "Preview not available. Needs W…" \]   
End If  
### Blog Entries

- [MBS Plugin Advent calendar: 18 - Preview](https://www.mbsplugins.de/archive/2023-12-18/MBS_Plugin_Advent_calendar_18_/monkeybreadsoftware_blog_filemaker)
- [New in MBS FileMaker Plugin 13.3](https://www.mbsplugins.de/archive/2023-07-25/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.3pr5](https://www.mbsplugins.de/archive/2023-06-30/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 29th June 2023 , last changed 27th August 2023

  
[Preferences.SetValue](PreferencesSetValue.md) - [Preview.Create](PreviewCreate.md)

[HTML Version](PreviewAvailable.shtml)