Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Adds a photo to the saved photos album (camera roll).
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImagePicker | 7.3 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Image | The image container to add to photo roll. | ||
FileName | The file name for the script. | Get(FileName) | Optional |
ScriptName | The script name for the trigger. | Optional | |
Parameter | The script parameter to use. | Optional |
Returns OK or error.
Add image to saved photos:
If [ IsEmpty ( ImagePicker::Picture ) ]
Show Custom Dialog [ "No image?" ]
Else
Set Variable [ $path ; Value: MBS( "ImagePicker.WriteImageToSavedPhotosAlbum"; ImagePicker::Picture; Get(FileName); "AddedToCameraRoll" ) ]
End If
This function checks for a license.
Created 17th June 2017, last changed 25th September 2023
ImagePicker.VideoIsCompatibleWithSavedPhotosAlbum - ImagePicker.WriteVideoToSavedPhotosAlbum