Desktop User Guides > Professional > Using UNICOM Intelligence Professional > Using ScriptAssist
 
Using ScriptAssist
ScriptAssist helps you to write scripts more quickly. Type a dot (.) after the name of a variable: ScriptAssist displays a list of the members (properties and methods) or global functions that are valid for that variable.
Select an item from the list by double-clicking on the item, or by highlighting the item using the arrow keys and typing a dot (.).
If your variable is a question in the routing section of an interview script, the suggestion list might show category names or sub questions, depending on the definition of the question.
Items in the Suggestion list
The following table list the types of items that can appear in a suggestion list. The items that actually appear depends on the type of script and the variable name that has just been typed.
Icon
Description
This graphic is described in the surrounding text.
Property of an object
This graphic is described in the surrounding text.
Default property of an object
This graphic is described in the surrounding text.
Method of an object, or Function in the
This graphic is described in the surrounding text.
Enumerated type
This graphic is described in the surrounding text.
Question, or Built-in variable
This graphic is described in the surrounding text.
Category in a categorical question
To specify which items you want to see in the suggestion list, or to stop the suggestion list from appearing, see ScriptAssist options.
Activating ScriptAssist manually
To force the ScriptAssist suggestion list to appear, use the following keyboard shortcuts. The contents of the suggestion list depend on the type of script, and the position of the cursor when the keyboard shortcut is pressed.
Keyboard shortcut
Description
Where to use
Ctrl+Space
Display a global list of all UNICOM Intelligence functions, built-in variables, and enumerators in UNICOM Intelligence Type libraries.
In the routing section of an interview script, the list includes all questions defined in the metadata section.
Anywhere in a mrScriptBasic script (.mrs) file, in the routing section of an interview script (.mdd) file, or in an event section of a data management script (.dms) file.
Ctrl+Q
Display a list of all the questions defined in the metadata section.
If the cursor was positioned after the name of a question, Ctrl+Q displays a list of all the sub questions for that question.
In the routing section of an interview script.
Ctrl+R
Display a list of all the categories for a question.
In the routing section of an interview script, with the cursor positioned after the name of a categorical question.
See also
Retrieving the CadsClient service objects when using IOM.Services
Using UNICOM Intelligence Professional