alert.js File Reference

Go to the source code of this file.

Functions

 for (var i=0;i< WScript.Arguments.Length;++i)
 
WshShell Popup (args.join("\n"))
 

Variables

var WshShell = WScript.CreateObject("WScript.Shell")
 
var args = []
 

Function Documentation

for ( )

Definition at line 9 of file alert.js.

Here is the call graph for this function:

WshShell Popup ( args.  join"\n")

Variable Documentation

var args = []

Definition at line 8 of file alert.js.

var WshShell = WScript.CreateObject("WScript.Shell")

Sample JScript for Windows Scripting Host to show a message box based on the command line parameters

Usage: wscript alert.js stuff goes here

Definition at line 7 of file alert.js.