ssCore.Shell.open

Open a document or resource using the associated application (from the Windows registry). If the document or resource specified by the path argument has no registered association, the command will fail. Using Shell.open produces the same results as double clicking on a file.


Availability:

First available in version 3.3 build 120.


Input Parameters:

path - A fully qualified path to the document that will be the target of the shell verb. This parameter supports monikers.

verb - [Optional] - The verb to be applied to the document. If no verb is specified, the default verb will be used.

arguments - [Optional] - Arguments that should be passed to the executable on its command line. Only valid when the path points to an EXE file. This parameter supports monikers.


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.Shell.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.Shell.open( paramsObject );


Notes:

None.


Examples:

ssCore.Shell.open({path:"startdir://readme.html"});