ImagePlayground.Available
-------------------------

Checks for availability.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePlayground](component_ImagePlayground.md) | [15.0](newinversion150.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

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

none

### Result

Returns Unknown, Available, NotAvailable, OldMacOS or error.

### Description

Checks for availability.  
The value of this property is Available when the current device supports image generation. A device might not support this feature if the device or system doesn’t have the resources necessary to generate the images.  
Returns OldOS if called on older macOS versions.  
### Examples

Check availability:

 Set Variable \[ $t ; Value: MBS ("ImagePlayground.Available") \]  
\#   
If \[ $t = "Available" \]  
 Show Custom Dialog \[ "Image Playground Status" ; "The playground is available" \]  
Else If \[ $t = "NotAvailable" \]  
 Show Custom Dialog \[ "Image Playground Status" ; "The playground is not available" \]  
Else If \[ $t = "OldOS" \]  
 Show Custom Dialog \[ "Image Playground Status" ; "Your macOS or iOS version is too old." \]  
Else  
 Show Custom Dialog \[ "Image Playground Status" ; $t \]  
End If  
### Example Databases

- [Mac only/ImagePlayground](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/ImagePlayground.shtml#3ScriptAnchor_)

This function checks for a license.

Created 15th December 2024 , last changed 16th December 2024

  
[ImagePlayground.AddExtractedConcept](ImagePlaygroundAddExtractedConcept.md) - [ImagePlayground.ClearConcepts](ImagePlaygroundClearConcepts.md)

[HTML Version](ImagePlaygroundAvailable.shtml)