Returns a Boolean indicating whether the scheduler is running as a service or as part of the HomeSeer.exe interface.
None.
Return value: RunningAsService
Type: Boolean
Possible Values: True, False
sub main(ByVal Parm as Object)
Dim b As Boolean
b=hs.RunningAsService()
If
b Then
hs.WriteLog("Info","HomeSeer's
Scheduler is running as a SERVICE.")
Else
hs.WriteLog("Info","HomeSeer's
Scheduler is running as part of the HomeSeer.exe User Interface.")
End
If
End Sub