Quantcast
Channel: HomeSeer Message Board
Viewing all articles
Browse latest Browse all 4847

Script create event with action(question)

$
0
0
Hi all

i checked all the internet for information about how to create an event trough a script

this creates a time based event , but is it possible to create a recur event linked to my virtual device with no logging?


i found a script and i modified it



Code:

Public Sub Main(parms as object)
Dim EvRef As Integer
Dim EvTime As Date


EvTime = "23:45"

' Create the Event
EvRef = hs.NewEventEx("New Test Event","Tester","")
' Set the time trigger
hs.EventSetTimeTrigger(EvRef,EvTime)


End Sub

thanks in advance !

Viewing all articles
Browse latest Browse all 4847

Trending Articles