iNet Tabs dot com Title image of a computer mouse.
home graphical Layout software blog Layout Element archive

software >>

Commands :: MultiRun

This page contains a quick run down of the commands available with MultiRun. An explaination of each command's effect is given and its syntax is shown.

shell

The shell command is used to run another application. MultiRun will execute this command and immediately move on to the next command in the script.

shell("target","start-in","command",state)

The following parameters are accepted:

target = The full path to the application to shell.
start-in = The full path of the folder to start in.
command = Any command line arguments to pass.
state = The window state to use. This can be 'norm', 'max' or 'min'.


shellWait

The shellWait command is used to run another application, but wait for that application to close or be closed before continuing to the next command in the script.

shellWait("target","start-in","command",state)

The following parameters are accepted:

target = The full path to the application to shell.
start-in = The full path of the folder to start in.
command = Any command line arguments to pass.
state = The window state to use. This can be 'norm', 'max' or 'min'.


closeProgram

The closeProgram command will attempt to close a running application. This is the best way to close a running program as the application will ask you if you wish to save any unsaved data before it closes. To use this command you must pass all or part of the title bar text of the application you wish to close.

closeProgram("title-text")

The following parameters are accepted:

title-text = Full or partial title bar text of the application.


killProgram

The killProgram function is similar to closeProgram, however it will force a program to close. Be aware that any unsaved data in the application that is closed will be lost. To use this command you need to pass the process name of the program you wish to close. This can be found in the task manager under the processes tab. An example would be “geOShell.exe”.

killProgram("process")

The following parameters are accepted:

process = The full process name of the application.


setFocus

setFocus will activate the selected Windows application. To use this command you must pass all or part of the title bar text of the application you wish to set the focus to.

setFocus("title-text")

The following parameters are accepted:

title-text = Full or partial title bar text of the application to receive focus.


wait

This command simply pauses the execution of the script for the number of seconds entered.

wait(x)

The following parameters are accepted:

x = The number of seconds to pause the script for.

 

programs >>


iNet-Tabs

about
download

Trillian LogExplorer
about
faq
download
version history

MultiRun
about
example uses
example scripts
commands
download

 

Contact