Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the current device.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WIA | 6.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
DeviceID | Pass name or unique ID for device. | "Brother DCP-8085DN LAN" |
Returns OK or error.
Select a device:
Set Variable [$r; Value:MBS("WIA.SetCurrentDevice"; WIA Scan::Value)]
If [$r = "OK"]
Show Custom Dialog ["Select Device Dialog Result"; "DeviceID: " & MBS("WIA.GetCurrentDevice") & ¶ & "Name: " & MBS("WIA.DevicePropertyValue"; ""; "Nam…]
Else
Show Custom Dialog ["Select Device Dialog Result"; $r]
End If
This function checks for a license.
Created 6th November 2016, last changed 6th November 2016