Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

ImageCapture.requestSelectFunctionalUnit

Requests the scanner device to select a functional unit.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImageCapture 6.4 Yes No No No No

MBS( "ImageCapture.requestSelectFunctionalUnit"; Unit )

Parameters

Parameter Description Example value
Unit The functional unit to request.
Can be Flatbed, PositiveTransparency, NegativeTransparency or DocumentFeeder.
"Flatbed"

Result

Returns OK or error.

Description

Requests the scanner device to select a functional unit.

Examples

Request flatbed unit:

Set Variable [$r; Value:MBS("ImageCapture.requestSelectFunctionalUnit"; "Flatbed")]
If [MBS("iserror")]
    Show Custom Dialog ["Failed to get flatbed?"; MBS("Text.RemovePrefix"; $r; "[MBS] ")]
    Exit Script []
End If

Request document feeder:

MBS("ImageCapture.requestSelectFunctionalUnit"; "DocumentFeeder")

See also

Example Databases


ImageCapture.requestScan   -   ImagePicker.AvailableCaptureModesForCameraDevice

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins