9.0

286
Argument Description
Values The array of values that will be shown to the user. In order to group values, you
can use an empty string. This string appears as a separator element in the
array. The values can optionally contain a word's spoken form, separated by
backslash symbol (see example below).
Description The caption that appears on the prompt box.
X, Y Optional. Screen coordinates of the Prompt-box. If you do not supply these
parameters, the Prompt-box will try to determine the most appropriate
coordinates, basing on the current caret position.
ChosenValue The return value; this is either the value selected by the user, or an empty
string if the user dismissed the prompt box without making a selection.
To access PromptValue, use the EngineControl object. EngineControl.PromptValue returns a string that contains
the value chosen by the user, or an empty string if the Prompt-box was dismissed.
Example
....
Dim Values(7) As String
'Build a list of commands to display in the prompt dialog
Values (0) = "milk"
Values (1) = "cream"
Values (2) = "eggs"
Values (3) = "butter"
Values (4) = "yogurt"
Values (5) = "cheese"
Values (6) = "chicken pot pie ingredients"
Values (7) = "next"
'set state to null before displaying prompt dialog
SetState ""
PROMPT_LIST:
Dim item As String
item = EngineControl.PromptValue (Values(), "Available Dairy")
....
RememberPoint
Records the current mouse pointer position. You must use this command to record a starting point position before
you can use a DragToPoint command.
Syntax
RememberPoint
Arguments
This command does not have any arguments.