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

IKScannerDevicePanel.SetDownloadsDirectory

Sets the download directory.

Component Version macOS Windows Linux Server iOS SDK
ImageCapture 6.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "IKScannerDevicePanel.SetDownloadsDirectory"; Path )   More

Parameters

Parameter Description Example
Path The native path to the folder to store images.

Result

Returns OK or error.

Description

Sets the download directory.
Please make sure you can write to this folder.
We recommend a temporary folder.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.

Examples

Scan to desktop folder:

Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetDownloadsDirectory"; MBS("Folders.UserDesktop") )]

Scan to downloads folder:

MBS( "IKScannerDevicePanel.SetDownloadsDirectory"; "/Users/cs/Downloads" )

Scan to temporary folder:

Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetDownloadsDirectory"; MBS("Folders.UserTemporary") )]

See also

Example Databases

This function is free to use.

Created 7th November 2016, last changed 31st October 2023


IKScannerDevicePanel.SetDocumentName - IKScannerDevicePanel.SetHeight