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.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  

WinPhotoAcquire.Files

Queries list of files after acquire finished.

Component Version macOS Windows Linux Server iOS SDK License
WinPhotoAcquire 12.1 ❌ No ✅ Yes ❌ No ❌ No ❌ No Paid
MBS( "WinPhotoAcquire.Files" )

Parameters

none

Result

Returns list or error.

Description

Queries list of files after acquire finished.
You may need to delete those files after you imported them into FileMaker.

Examples

Import images:

Go to Layout [ “PhotoAcquire” ; Animation: None ]
Set Variable [ $list ; Value: MBS( "WinPhotoAcquire.Files") ]
Set Variable [ $count ; Value: ValueCount($list) ]
If [ $count > 0 ]
    Set Variable [ $i ; Value: 1 ]
    Loop
        Set Variable [ $ImagePath ; Value: GetValue($list; $i) ]
        If [ MBS( "Files.FileExists"; $ImagePath ) ]
            Set Variable [ $image ; Value: MBS( "Container.ReadFile"; $ImagePath) ]
            New Record/Request
            Set Field [ PhotoAcquire::Filename ; MBS( "Path.LastPathComponent"; $ImagePath ) ]
            Set Field [ PhotoAcquire::Image ; $image ]
            Commit Records/Requests [ With dialog: Off ]
        End If
        # Next
        Set Variable [ $i ; Value: $i + 1 ]
        Exit Loop If [ $i > $count ]
    End Loop
End If

See also

Release notes

  • Version 12.3
    • Fixed a problem where WinPhotoAcquire.Files would not get all the pictures.

Example Databases

Created 5th February 2022, last changed 7th February 2022


WinPhotoAcquire.Acquire - WinPhotoAcquire.GetCurrentDeviceID

Feedback: Report problem or ask question.


Start Chat