Looking at the source code of the page I see this. Looks like this is the code that kingfisher wanted to post. It's a JavaScript. The board sees it as a script it should run so it is not shown.

Is this the script you originally wanted to post Kingfisher?

Code:

{
//////////////////////////Main Program
var WshShell = WScript.CreateObject("WScript.Shell");

///////////OS Info
var envSystem = WshShell.Environment("SYSTEM");
var OS = "98";
OS = envSystem("OS");

/////////////Batch File Path
var batchPath = "\\\\godetia\\inventory\\test\\alloy.bat";

////////////////////////StartTimer
jTimer();

function jTimer()
{
WshShell.Popup("Timer Started", 2, "Timer Status"); //for Testing
var i, nowDate, runningHour, runningMinute, timeResult;
i = true;
while (i)
{
nowDate = new Date();
runningSecond = 01;
runningMinute = 01;
runningHour = 12;
timeResult = nowDate.getHours() - runningHour;
// timeResult = nowDate.getMinutes() - runningMinute;
// timeResult = nowDate.getSeconds() - runningSecond;
if (timeResult == 0 && nowDate.getMinutes() == runningMinute )
{
var strThisTime = "Now is " + nowDate.getHours() + ":" + nowDate.getMinutes();
if (OS == "")
{
OS = "Windows 95/98"
WshShell.Popup("OS is : " + OS + "\n" + strThisTime, 2); //for testing
WshShell.Run("cmd /C start " + batchPath, "3", true);
}
else
{
WshShell.Popup("OS is : " + OS + "\n" + strThisTime, 2); //for testing
WshShell.Run("cmd /C start " + batchPath, "3", true);
}
}
///////////running interval
WScript.Sleep(59000);
}
WshShell.Popup("Timer Stop", 2, "Timer Status"); //for Testing
}
}
catch (e)
{
var test = e;
}



Edited by Mart (2006-01-26 01:15 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.