CasewareDocs

StopIdea

Loads audit test execution parameters from file associated with app.

Compatibility

Available as of IDEA version 12.0

Syntax

StopIdea()

Remarks

SmartAnalyzer Automation component is in-proc COM server but it needs IDEA instance as out-of-proc server. In case automation is implemented via stand-alone script, finishing the script execution leaves IDEA instance running as background process which is often not desirable. StopIdea() might be used to terminate IDEA process running in background.

On the other hand, this method shouldn’t be used if automation is implemented as IDEAScript started from within IDEA itself. Otherwise, current IDEA instance will be terminated immediately after the automation script execution.

Example

Sub Main()
Dim ac As Object
Dim atExecutor
atId = "9a2bf818-b54c-562f-b85b-dbaca6ead039"
tblName = "Sample-Weblog"
Set atExecutor = ac.GetAtExecutor(atId, tblName)
atExecutor.Execute
...
' No need for IDEA instance to keep running
atExecutor.StopIdea
End Sub
StopIdea | Caseware Docs