I have a script that creates an event using the NewTimeEvent command.
hs.NewTimeEvent en,tm, td, 1, 1, 1, 1, 1, 1, 1, "dv
ff", 1, dv & "-NoMotion.txt",eg
This is working fine, however I would like to eliminate the need to specify a script and instead put into the event itself the commands that are currently in the script.
I think I can do this because there are fields in the Actions List to do it if I'm manually editing the event.
Question is, how do I do it programatically? I do not see anything in the Event Class tor elsewhere hat accesses the appropriate properties.
Suggestions?
Frank
hs.NewTimeEvent en,tm, td, 1, 1, 1, 1, 1, 1, 1, "dv

This is working fine, however I would like to eliminate the need to specify a script and instead put into the event itself the commands that are currently in the script.
I think I can do this because there are fields in the Actions List to do it if I'm manually editing the event.
Question is, how do I do it programatically? I do not see anything in the Event Class tor elsewhere hat accesses the appropriate properties.
Suggestions?
Frank
Comment