From: Bruce W. <br...@mi...> - 2004-04-23 02:36:57
|
> Hi. The code below is an attempt at getting MH to instruct ConquerCam > to grab an image after MH has turned on another X10 wireless camera. I > want to give the newly active camera several seconds to settle before > grabbing the image from it. Problem is, the run_after_delay doesn't > seem to work the way I want it to. You were very close! run_after_delay calls a timer which takes the action spec as either a code reference or a string with code in it. So try changing from this: run_after_delay 5, run_voice_cmd 'grab camImage'; to this: run_after_delay 5, "run_voice_cmd 'grab camImage'"; I just tried your code here and it seems to work ok. Bruce |