240
MULTIEYE Benutzerhandbuch
snew=s.substring(0, iBustLen);
snew=snew+Math.round((Math.random()*100000));
} else {
snew=s;
}
// we add a random id to the img url
// only required for netscape & co
snew=snew+"&rnd="+Math.round((Math.random()*100000));
document.images[0].src=snew;
piccounter=0;
}
</Script>
</HEAD>
<BODY OnLoad="UpdateTimer()">
<img id="img" name="img" width=384 height=288
src="http://192.168.101.96:2841/cam17.jpg?login=admin&pass=17&w=384&h=288&sz=64">
</BODY>
</HTML>
15.3 Beispiel für die Benachrichtigung mit einem externen
Programm
Das Batch-File
Alarm.bat
@REM 4 Parameter erforderlich, z.B.: <CAMERA> <EVENT> "<PICTURE>" "c:\Temp\Hybrid\"
@Echo off
if not exist %3 goto ende
copy %3 %4image%1_%2.jpg
del %3
:ende
Echo %date% %time% %2 >> %4Event%1.log
© 2010 artec technologies AG
würde dann so aussehen: