RunProgram Data Member Function

Executes a program or command.


int32 RunProgram( string p_sCommandLine, string p_sDirectory, string p_sTitle, int32 p_bVisible, int32 p_bWait )


Parameter Type Parameter Name Documentation
stringp_sCommandLineA string containing the path and program name.
stringp_sDirectoryThe directory in which to start the command line program.
stringp_sTitleA string containing the desired title for the window, if applicable.
int32p_bVisibleA 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.
int32p_bWaitIf true, locks Scenome while the program or command executes.


Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.