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

WIA.GetCurrentDevice

Queries ID of current device.

Component Version macOS Windows Linux Server iOS SDK
WIA 6.5 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WIA.GetCurrentDevice" )

Parameters

none

Result

Returns text or error.

Description

Queries ID of current device.

Examples

Show current device and item:

Set Variable [ $device ; Value: MBS( "WIA.GetCurrentDevice" ) ]
Set Variable [ $item ; Value: MBS( "WIA.GetCurrentItem" ) ]
Show Custom Dialog [ "Current device:" ; $device & " " & $item ]

See also

Example Databases

This function is free to use.

Created 6th November 2016, last changed 18th December 2020


WIA.DevicePropertyValue - WIA.GetCurrentItem