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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem