ScenomeApplication.RunProgram
This page contains reference documentation for the RunProgram function. This function executes a program or command.
Prototype
int RunProgram( string CommandLine, string Title, int Visible, int Wait )
Parameters
Function parameters are as follows:
- CommandLine: A string containing the path and program name.
- Title: A string containing the desired title for the window, if applicable.
- Visible: A flag indicating whether or not a window should be shown for the command. 1 is used to indicate a window can be shown if applicable; 0 is used to indicate that a window should not be shown.
- Wait: An integer to lock Scenome while the program or command executes.
Examples
Examples are as follows:
string dir_command = "cmd /c \"dir " + output_file_path + "\*.tif /B > " + dir_output_file + "\"";
Application.RunProgram( dir_command, "Generating File List...", 1, 1 );
Working Sample Code
For sample code:
- convert_imagery_to_geotiff_imagery.ssl
- extract_sid_imagery.ssl