I have created an application to interface with functions in homeseer. Does anyone know how I can create an event in homeseer externally from my application. I would use hs.newevent etc. but want to create it from a form i have in my app. I'm bundling a script and app package for sprinklers and it would be nice to set the times etc for an event to run from my GUI. I'm guessing thatn I have to use the hsOBject somehow?
Announcement
Collapse
No announcement yet.
create an event from an external application
Collapse
X
-
taffyTags: None
-
Scripting from an application is no different than scripts run from homeseer. Like Rupp indicated you need to identify the hs object to your application. I would suggest using "Set hs=CreateObject("Homeseer.Application") so that you will not need to recompile it for a later version of Homeseer. Use of "new" binds it a specific version. Once you have hs defined then it works just like any script.
Comment
Comment