Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PhotoPicker.TotalBytes

Queries the number of bytes in total.

Component Version macOS Windows Linux Server iOS SDK
PhotoPicker 12.5 ✅ Yes ❌ 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

Blog Entries

This function is free to use.

Created 28th September 2022, last changed 24th March 2023


PhotoPicker.SetSize - Platform