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.TotalBytes

Queries the number of bytes in total.

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

Parameters

none

Result

Returns number of bytes or error.

Description

Queries the number of bytes in total.

Examples

A loop waiting for downloads to finish:

Pause/Resume Script [ Duration (seconds): ,5 ]
Loop
    Set Variable [ $BytesLoaded ; Value: MBS("PhotoPicker.BytesLoaded") ]
    Set Variable [ $TotalBytes ; Value: MBS("PhotoPicker.TotalBytes") ]
    Set Variable [ $ImageCount ; Value: MBS("PhotoPicker.ImageCount") ]
    #
    If [ MBS("PhotoPicker.IsLoading") ]
    Pause/Resume Script [ Duration (seconds): ,1 ]
    Else
    Exit Loop If [ 1 ]
    End If
End Loop

See also

Example Databases

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


PhotoPicker.SetSelectionLimit - Platform

Feedback: Report problem or ask question.


Start Chat