SUI_SetNotifyMethod Table of Contents || Prev | Next || [?]

 
SUI_SetNotifyMethod (methodName)
 
ParameterTypeDescription
methodNameStringProject method to execute
 
Description

SUI_SetNotifyMethod will call the method name you pass as $1 whenever a valid utterance is detected. You no longer need to check SUI_GetStatus in a loop to see if something was spoken.

SUI_SetNotifyMethod is implemented only on Mac OS.

Under Windows, you must call SUI_GetStatus in a loop, as shown below:

Repeat `Loop until we hear from the user.
  DELAY PROCESS (Current process ;6)
Until (SUI_GetStatus=1) | (bQuit))