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

ImageCapture.PreferredDevice

Returns UUID for preferred device.

Component Version macOS Windows Linux Server 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

This function checks for a license.

Created 11st September 2016, last changed 11st September 2016


ImageCapture.PDF - ImageCapture.RequestDeleteFiles