From: linc1234 <lin...@sw...> - 2004-05-01 15:08:18
|
Hi. I have included the necessary lines that are tripping me up on this run_after_delay problem. I believe I tried all the suggestions posted in the last couple days (thanks). Ideally, I would like to run this copy cmd as a process to avoid any MH delays but the problem with the quotes is causing me problems there as well. Having the quadriple quotes necessary in windows for pointing to a file on a networked PC might be part of the problem too. Any additional help here would be much appreciated. Thanks, Linc #Define file grabbed cam image will be written to; my $imageFile="c:\\Misterhouse\\mh\\data\\photos\\conquerCam.jpg"; #Define path for copied and renamed grabbed camera image; my $webPath="\\\\Wxserver\\c\\apache2\\htdocs\\WUW\\House_images\\"; #run_after_delay 2, "run_voice_cmd 'copy imageFiles'"; # didn't work ; #run_after_delay 2, qq|copy($imageFile,"$webPath $activeCam.jpg")|;# didn't work; #run_after_delay 2, "copy($imageFile,'$webPath $activeCam.jpg')";# didn't work; #run_after_delay 2, "copy($imageFile,\"$webPath $activeCam.jpg\")";# didn't work; if(state=said $v_scanCams){ set $p_copyFiles 'copy($imageFile,"$webPath $imageFile")'; #set $p_copyFiles "copy($imageFile,$webFile)"; set_timeout $p_copyFiles 30; start $p_copyFiles; } |