Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0    Statistic    FMM    Blog  

PhotoPicker.Present

Presents the photo picker view.

Component Version macOS Windows Linux Server iOS SDK
PhotoPicker 12.5 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "PhotoPicker.Present" )

Parameters

none

Result

Returns OK or error.

Description

Presents the photo picker view.
This will show the user interface and start the process.
Your script may call this in a script and then wait for the script trigger.

When the script is called, we close the picker automatically.

Examples

Shows photo picker:

Set Variable [ $r ; Value: MBS( "PhotoPicker.Clear") ]
Set Variable [ $r ; Value: MBS( "PhotoPicker.SetScript"; Get(FileName); "GotImage") ]
Set Variable [ $r ; Value: MBS( "PhotoPicker.SetSelectionLimit"; 10) ]
Set Variable [ $r ; Value: MBS( "PhotoPicker.Present") ]

See also

Example Databases

Blog Entries

Created 28th September 2022, last changed 28th September 2022


PhotoPicker.IsPresented - PhotoPicker.SetScript

Feedback: Report problem or ask question.


Start Chat