CasewareDocs

SmartContext Object first level commands

These commands are located directly below SmartContext Object (see the hierarchy of the SmartAnalyzer commands).

Table of first level commands
Command Description
AbortImport Gets/sets a value that instructs the importer to abort the task. Standard Import Routine only.
ExecutionStatus Sets a value that indicates how the macro has completed (failed, canceled or successful).
InputFileByAlias Gets the name of the input/assigned databases with the specified alias.
InputFileContainsAlias Determines whether the collection of input/assigned databases contains an element with the specified alias.
IsCancellationRequested Determines if the current routine is to be canceled.
IsServerImportTask Gets a value that indicates whether the IDEA databases are located on the server. Standard Import Routine only.
IsServerTask Determines if the current task is running on IDEA server.
ParametersOnlyMode Gets a value that indicates whether the Standard Import Routine is being executed only to edit the parameters.
ParentWindowHandle Gets the handle of the parent window. Not available to COM clients.
ParentwindowHandle32 Gets the handle of the parent window. Standard Import Routine only.
ParentWindowHandleAsString Gets the handle of the parent window as a string formatted using the InvariantCulture. Standard Import Routine only.
PrimaryInputFiles Returns the name of primary database.
RegisterDatabase This command can only be used in the partial import task context. Registers a database for the import files collection of the Standard Import Routine or Standard Import Routine extension that owns the task.
ServerProjectName Using this property you can detect whether your IDEA instance is connected to an IDEA server project.
SharedTempUserData Gets a reference to a dictionary that can be used to store user definable non-persistent data for the current Standard Import Routine and all its active extensions.
SharedUserData Gets a reference to a dictionary that can be used to store user definable non-persistent data for the current Standard Import Routine and all its active extensions.
Strings Delivers all resource strings.
TaskProgress Progress report on an audit test run.
TempUserData Gets a reference to a dictionary that can be used to store user definable non-persistent data of the current Standard Import Routine's subtasks.
TestId Gets the identifier of the audit test.
TestName Delivers the name of the audit test.
TestVersion Delivers the version number of the audit test.
UserData Gets a reference to a dictionary that can be used to store user-definable (e.g. actual parameters) data for the current Standard Import Routine execution. Standard Import Routine only.
UserName Delivers the Windows user name of the user who has created the task.