Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


WIA.DevicePropertyValue - WIA.GetCurrentItem

Feedback: Report problem or ask question.