Applies to:
Main
Dialog
Description:
Executes an external program.
This action can launch an executable file (a program) or open documents
or files that are assigned to a program by Windows (a txt-file will be
opened in Notepad for example). It supports windows system path variables,
which means you can enter the parameter iexplore
to launch MS Internet Explorer or notepad
to launch notepad.exe, without path information.
Parameter: absolute or relative path
to the file or program, as well as optional command line parameters of
the target program.
Or the name of the program to be launched (if included in windows system
path), with optional parameters (exactly like you would enter it into
the windows command line).
Parameter format:
Relative
file path: path to the file including parameters, seen from the
working directory of your BrowserBob application (where the application.exe
is executed).
Example
parameter: <_currentdir_>\Additional\helperapplication.exe
param
Explanation: <_currentdir_>
(the placeholder for the app's working directory)
\Additional\helperapplication.exe (path to the file)
param (parameter
for helperapplication.exe)
This
parameter launches helperapplication.exe with parameter param.
Absolute file path (local or network path):
full path to the file or program.
Example parameter: C:\windows\notepad.exe
(local filepath)
\\SERVERNAME\C\WINDOWS\notepad.exe
(network path)
These
parameters launch notepad locally or from a network.
Important note: if you want to enter
paths to files or programs which will be delivered with your application
as additional files (packed into your program package), you should add
these files to your project first as additional files, and then select
relative paths to these files from the parameter selection button.
This
will enable you to test your relative paths in testmode, as all files
added under additional files will be copied into a temp folder when you
test your project.
|