ssCore.Sentry.addWatch

Specify an application that SWF Studio should watch for and prevent from running.


Availability:

First available in version 3.2 build 136.


Input Parameters:

application - The name of the application you want to block without the path, but including the extension, e.g. 'notepad.exe'.


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.Sentry.addWatch( 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.Sentry.addWatch( paramsObject );


Notes:

None.


Examples:

ssCore.Sentry.addWatch({application:"iexplore.exe"});