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

ImageCapture.ImagePaths

Queries list of image files.

Component Version macOS Windows Linux Server iOS SDK
ImageCapture 6.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ImageCapture.ImagePaths" )

Parameters

none

Result

Returns list or error.

Description

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.

Examples

Query images and import them:

Set Variable [$Paths; Value:MBS("ImageCapture.ImagePaths")]
Set Variable [$Count; Value:ValueCount ( $Paths )]
Set Variable [$Index; Value:1]
Loop
    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

This function checks for a license.

Created 11st September 2016, last changed 27th November 2020


ImageCapture.GetParameters - ImageCapture.Initialize