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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0    Statistic  


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 )


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


Returns OK or error.


Requests the scanner device to select a functional unit.


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.

MBS Xojo Plugins