Hi
I'm trying to live stream my ami chart online so that I can use it else...
so when I capture the image with the below code- MANUALLY it works!
but when I try to capture images automatically then I get a windows host error... some one please help me auto capture the images....
this is what I tried....
or is there any other means thru which I can live stream my chart online?
I'm trying to live stream my ami chart online so that I can use it else...
so when I capture the image with the below code- MANUALLY it works!
Code:
Capture = ParamTrigger("Capture", "Click");
if ( Capture )
ShellExecute("E:\\AutoExportChart\\AutoExportChart.js","","");
this is what I tried....
Code:
_SECTION_BEGIN("Time Left");
function GetSecondNum()
{
Time = Now( 4 );
Seconds = int( Time % 100 );
Minutes = int( Time / 100 % 100 );
Hours = int( Time / 10000 % 100 );
SecondNum = int( Hours * 60 * 60 + Minutes * 60 + Seconds );
return SecondNum;
}
RequestTimedRefresh( 1 );
TimeFrame=15;
SecNumber = GetSecondNum();
Newperiod = SecNumber % TimeFrame == 0;
SecsLeft = SecNumber - int( SecNumber / TimeFrame ) * TimeFrame;
SecsToGo = TimeFrame - SecsLeft;
if ( NewPeriod )
{
ShellExecute("E:\\AutoExportChart\\AutoExportChart.js","","");
}