ssCore.Console.open

Open an output console to display trace information while an application is running.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

x - [Optional] - Position (in pixels) for the X coordinate of the console window. If no value is supplied, 0 will be assumed.

y - [Optional] - Position (in pixels) for the Y coordinate of the console window. If no value is supplied, 0 will be assumed.

width - [Optional] - Width (in characters) of the console window. If no value is given, the maximum possible value for the current screen geometry will be used.

height - [Optional] - Height (in characters) of the console window. If no value is given, the maximum possible value for the current screen geometry will be used.

title - [Optional] - The console window title. If no value is supplied the current application window title will be used.

topmost - [Optional] - A flag indicates whether the console window should be a topmost window or not. Valid values include: true and false.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Console.open( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Console.open( paramsObject );


Notes:

None.


Examples:

ssCore.Console.open({x:0, y:0, width:80, height:25, title:"Application output"});