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  

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

💬 Ask a question or report a problem