RunProgram

Runs an external program.

UI Access NA
Parameters
Name Type Description
<ProgName> String Name of the program to run.
<ProgPath> String Location of the program. Pass in an empty string to use the system path.
<WorkPath> String Working directory in which program will start.
<ArgArray> Array of Strings Arguments to pass to the program. If no arguments, pass in None
Return Value None

 

Python Syntax  RunProgram (<ProgName>, <ProgPath>, <WorkPath>, <ArgArray>)
Python Example

oDesktop.RunProgram("winword.exe", _

"C:\Program Files\Microsoft Office\Office10",_

"", None)