Method RunClientProgram
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
RunClientProgram(string)
Launches an application on the client in an interactive script.
public UIResults RunClientProgram(string applicationPath)
Parameters
applicationPathstringThe application path.
Returns
- UIResults
The UI result.
Exceptions
- InteractiveUserDetachedException
The interactive client was detached.
RunClientProgram(string, bool)
Launches an application on the client in an interactive script.
public UIResults RunClientProgram(string applicationPath, bool waitForCompletion)
Parameters
applicationPathstringThe application path.
waitForCompletionboolWhen set to
true, the script will halt until the client application has completed or has been closed. In the interactive window, users will see the message “Wait for client program to finish”.
Returns
- UIResults
The UI result.
Exceptions
- InteractiveUserDetachedException
The interactive client was detached.
RunClientProgram(string, string)
Launches an application on the client in an interactive script.
public UIResults RunClientProgram(string applicationPath, string arguments)
Parameters
Returns
- UIResults
The UI result.
Examples
engine.RunClientProgram("notepad.exe", @"C:\skyline dataminer\logging\slerrors.txt");
Exceptions
- InteractiveUserDetachedException
The interactive client was detached.
RunClientProgram(string, string, bool)
Launches an application on the client in an interactive script.
public UIResults RunClientProgram(string applicationPath, string arguments, bool waitForCompletion)
Parameters
applicationPathstringThe application path.
argumentsstringThe arguments.
waitForCompletionboolWhen set to
true, the script will halt until the client application has completed or has been closed. In the interactive window, users will see the message “Wait for client program to finish”.
Returns
- UIResults
The UI result.
Examples
engine.RunClientProgram(@"C:\Skyline DataMiner\Tools\SLTaskbarUtility\SLTaskbarUtility.exe", @"\h", true);
Exceptions
- InteractiveUserDetachedException
The interactive client was detached.