| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
ImagePlayground.Available
Checks for availability.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| ImagePlayground | 15.0 | ✅ 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
#
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
This function checks for a license.
Created 15th December 2024, last changed 16th December 2024
ImagePlayground.AddExtractedConcept - ImagePlayground.ClearConcepts
MarkDown version: ImagePlaygroundAvailable.md