Announcement

Collapse
No announcement yet.

Script create event with action(question)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Script create event with action(question)

    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 !
    Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
    Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




    HS3Pro 4.0.8.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

    #2
    No (unless they are available and undocumented), the options for HS event creation by script are very limited and nothing like they were in HS2 which would have permitted you to do this.

    Comment

    Working...
    X