The console.js File
function print(text){
WScript.StdOut.WriteLine(text);
};
function quit(){
WScript.quit(1);
};
while(!WScript.StdIn.AtEndOfStream){
try{
eval(WScript.StdIn.ReadLine());
}catch(e){
print(e.message);
};
};
WScript.StdOut.WriteLine("bye!" + "\r\n");
The console.bat Launcher
@echo off
cscript console.js
A double click in latter file, and that's it, the most basic native JScript console ever has landed in your PCs - enjoy :)
No comments:
Post a Comment