Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WinPhotoAcquire.Files
Queries list of files after acquire finished.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WinPhotoAcquire | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
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
Blog Entries
This function checks for a license.
Created 5th February 2022, last changed 7th February 2022
WinPhotoAcquire.Acquire - WinPhotoAcquire.GetCurrentDeviceID