| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
ImagePlayground.Present
Shows the image playground.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| ImagePlayground | 15.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "ImagePlayground.Present" )
Parameters
none
Result
Returns OK or error.
Description
Shows the image playground.Will create a dialog to show the user the playground.
Examples
Show image playground window:
# create the controller
Set Variable [ $r ; Value: MBS("ImagePlayground.Create") ]
# clear words and then add more
Set Variable [ $r ; Value: MBS("ImagePlayground.ClearConcepts") ]
Set Variable [ $r ; Value: MBS("ImagePlayground.AddConcept"; "Cat") ]
Set Variable [ $r ; Value: MBS("ImagePlayground.AddExtractedConcept"; "Mountains with trees"; "Waldberge") ]
# set the script trigger
Set Variable [ $r ; Value: MBS("ImagePlayground.SetScriptTrigger"; Get(FileName); "ImageTrigger") ]
# show the popover
Set Variable [ $r ; Value: MBS("ImagePlayground.Present") ]
Set Variable [ $r ; Value: MBS("ImagePlayground.Create") ]
# clear words and then add more
Set Variable [ $r ; Value: MBS("ImagePlayground.ClearConcepts") ]
Set Variable [ $r ; Value: MBS("ImagePlayground.AddConcept"; "Cat") ]
Set Variable [ $r ; Value: MBS("ImagePlayground.AddExtractedConcept"; "Mountains with trees"; "Waldberge") ]
# set the script trigger
Set Variable [ $r ; Value: MBS("ImagePlayground.SetScriptTrigger"; Get(FileName); "ImageTrigger") ]
# show the popover
Set Variable [ $r ; Value: MBS("ImagePlayground.Present") ]
See also
- ImagePlayground.AddConcept
- ImagePlayground.AddExtractedConcept
- ImagePlayground.ClearConcepts
- ImagePlayground.Create
- ImagePlayground.Image
- ImagePlayground.Release
- ImagePlayground.SetScriptTrigger
Release notes
- Version 16.2
- Improved threading for ImagePlayground.Present function on iOS.
Example Databases
Blog Entries
This function checks for a license.
Created 15th December 2024, last changed 15th December 2024