Click or drag to resize

IConsole Interface

Console interface. This is the interface for scripts. Use this interface to run new scripts or to print output from scripts to the console window.

Namespace: VideoCataloger
Assembly: VideoCataloger (in VideoCataloger.exe) Version: 8.0.9040.34617 (8.0.0.0)
Syntax
C#
public interface IConsole

The IConsole type exposes the following members.

Methods
 NameDescription
Public methodClear Clear the console window from any text.
Public methodGetScriptFolder Return the folder of this script.
Public methodRunScript(String) Load,compile and run a script by calling its main function with the provided arguments Run a script without extra arguments. Errors are outputted to the console window.
Public methodRunScript(String, String) Load,compile and run a script by calling its main function with the provided arguments Errors are outputed to the console window. The function will return when the script has finished execution.
Public methodWrite Write text to the console window
Public methodWriteLine Write a line of text to the console window
Top
See Also