I looked through the forums and didn't see anything on this. Has anyone put together the .h file to support IndigoServer and the ScriptBridge in Cocoa/ObjC ?
Thanks,
scott
if ezflag then
set ezaction to make new time date action with properties {date trigger type:absolute, absolute trigger time:((current date) + del), auto delete:true, name:"_EZRainBack_Schedule"}
--set date trigger type of ezaction to absolute
--set absolute trigger time of ezaction to ((current date) + del)
--set auto delete of ezaction to true
set zact_step to action step 1 of ezaction
set action type of zact_step to controlSprinkler
set device name of zact_step to "EZRainBack"
set sprinkler action of zact_step to runSchedule
set zone durations of zact_step to zone_times
--set absolute trigger time of ezaction to ((current date) + del)
--set name of ezaction to "_EZRain_Schedule"
end if
>>> s = indigo.schedule.create("mytest","This is a test")
>>> s.autoDelete = True
Traceback (most recent call last):
File "<console>", line 1, in <module>
AttributeError: the attribute "autoDelete" is read-only on this instance
>>>
Users browsing this forum: No registered users and 1 guest