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.PreferredDevice

Returns UUID for preferred device.

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

MBS( "ImageCapture.PreferredDevice" )

Parameters

none

Result

Returns UUID or error.

Description

Returns UUID for preferred device.
You can pass the UUID to other functions to select device or query information.

Examples

Show name of preferred device:

Set Variable [$PreferredDevice; Value:MBS( "ImageCapture.PreferredDevice" )]
Set Variable [$Name; Value:MBS( "ImageCapture.DeviceInfo"; $PreferredDevice; "name" )]
Show Custom Dialog ["Preferred Device"; $name]

See also

Example Databases


ImageCapture.OpenDevice   -   ImageCapture.SetFeatureValue

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins