Download ANUBIS Typhoon Wireless Access Point Setup guide

Transcript
Execute( [sCmdLine] [, sVerb] )
Executes the file contained in the File property. Same as setting the Running property to true, except you can
optionally supply a command line and/or a shell verb
Arguments
sCmdLine
Optional command line
sVerb
Optional shell verb to perform on the file, if the file is not an executable (e.g. "open", "play", "print")
JScript example:
Application("notepad.exe").Execute("C:\\Autoexec.bat"); //open C:\Autoexec.bat in
notepad
Application("Readme.txt").Running=true; //open Readme.txt in associated application
(usually notepad)
Close()
Closes the application. Same as setting the Running property to false.
Command Object
Contains properties of the currently executing command, i.e the command executing the script.
Command
Properties
Name
Count
The command's name
Number of layouts ( >= 1). Read-only.
nIndex. nIndex can be a number between
Layout( nIndex ) Retrieves the name of the layout specified by
zero and one less than Count.
Contains the index of the active layout. Read/Write, can be set to a valid layout index (0
ActiveLayout
<= index < Count) to switch the command to another layout.
The repeat counter.
RepeatCount
RepeatCount is 0 for the first command and increases by 1 for each repeated command.
Read-only.
Display Object
Display adapter methods and properties.