Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Queries list of image files.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImageCapture 6.4 Yes No No No No
MBS( "ImageCapture.ImagePaths" )   More




Returns list or error.


Queries list of image files.
After you scanned, you can use this function to query list of image file paths.
File paths are returned as native file paths.
Please use Container.ReadFile to read file and Files.Delete to delete them if needed.


Query images and import them:

Set Variable [$Paths; Value:MBS("ImageCapture.ImagePaths")]
Set Variable [$Count; Value:ValueCount ( $Paths )]
Set Variable [$Index; Value:1]
    Set Variable [$Path; Value:GetValue($Paths; $index)]
    New Record/Request
    Set Field [Images::Image; MBS("Container.ReadFile"; $path)]
    Set Variable [$r; Value:MBS( "Files.Delete"; $Path )]
    Commit Records/Requests [No dialog]
    Set Variable [$Index; Value:$index + 1]
    Exit Loop If [$index > $count]
End Loop

See also

Example Databases

Blog Entries

Created 11st September 2016, last changed 11st September 2016

ImageCapture.GetParameters   -   ImageCapture.Initialize

Feedback: Report problem or ask question.

MBS FileMaker blog