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
Queries number of devices.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WIA | 6.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
none
Returns number or error.
Walk over list of devices and query properties:
Go to Layout [“WIA Scan” (WIA Scan)]
Delete All Records [No dialog]
Set Variable [$c; Value:MBS("WIA.DeviceCount")]
If [MBS("IsError")]
Show Custom Dialog ["Error"; $c]
Else
If [$c > 0]
Set Variable [$i; Value:0]
Loop
Perform Script [“List Properties”; Parameter: $i]
#Next
Set Variable [$i; Value:$i + 1]
Exit Loop If [$i >= $c]
End Loop
End If
End If
Created 6th November 2016, last changed 6th November 2016
WIA.ClearCurrentDevice - WIA.DeviceProperties
Feedback: Report problem or ask question.