Just open up checkcmd.vb or checkcmd2.vb (whichever you are using) and add 'Exit sub' under the Sub Main line.
If you want to control this via a virtual device change the 'Exit Sub' to:
If hs.DeviceValueEx(1234) <> 100 Then Exit Sub
(where 1234 is the device reference of your virtual device). This assumes 100 is on and anything else is off.
If you want to control this via a virtual device change the 'Exit Sub' to:
If hs.DeviceValueEx(1234) <> 100 Then Exit Sub
(where 1234 is the device reference of your virtual device). This assumes 100 is on and anything else is off.
Comment