ssCore.SysTools.getWindowCaption

Get the caption of the specified window.


Availability:

First available in version 3.8 build 333.


Input Parameters:

hwnd - [Optional] - Handle of the window you want the caption for. If the handle is not supplied or set to zero (0) then the caption of the current application will be returned.


Output Parameters:

result - Caption of the desired window.


Asynchronous Mode:

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

ssCore.SysTools.getWindowCaption( 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.SysTools.getWindowCaption( paramsObject );


Notes:

None.