TIA!
Thought this would be simple to convert to do an instring search.
changing this...
If objDevice.Name(hs) = Window_sNAME Then
to this : If Instr(objDevice.Name(hs),Window_sNAME) > 0 = Then
or this : If Instr(strDevName,Window_sNAME) > 0 = Then
where :
Window_sNAME ... a string
intDevRef = objDevice.Ref(hs) ... a string
but I only get log error...
Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\CompositeDevices.vb: Expression expected.
Thought this would be simple to convert to do an instring search.
changing this...
If objDevice.Name(hs) = Window_sNAME Then
to this : If Instr(objDevice.Name(hs),Window_sNAME) > 0 = Then
or this : If Instr(strDevName,Window_sNAME) > 0 = Then
where :
Window_sNAME ... a string
intDevRef = objDevice.Ref(hs) ... a string
but I only get log error...
Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\CompositeDevices.vb: Expression expected.
Comment