Speech_Get_Setting_Max

Gets the largest value for a speech setting.

Parameters

Setting

Get the maximum value for this setting name.

Format

Speech_Get_Setting_Max ("Setting")

Return Value

Returns the largest possible value for a speech setting. Returns 0 if only one setting value is supported, returns -1 if the speech setting is not valid.

Example

Script(Speech_Get_Setting_Max_Test)
String(strMessage)
Number(nTimeout)
Activate(From_Menu)
nTimeout = Speech_Get_Setting_Max("stt_timeout")
strMessage = String_Combine("stt_timeout maximum:", Number_To_String_Decimal(nTimeout))
Message(strMessage, 5)
Return

See Also

Speech_From_Text_Available, Speech_From_Text, Speech_To_Text_Available, Speech_To_Text, Speech_To_Text_No_Wait, Speech_To_Text_Cancel, Speech_Setting_Available, Speech_Change_Setting, Speech_Get_Setting, Speech_Find_Setting_Value, Speech_Get_Setting_Value_Desc, Speech_To_Text_Get_User_Name, Speech_To_Text_Change_User_NameSpeech_From_Text_Error_Desc, Speech_To_Text_Error_Desc, Speech_From_Text_Cancel

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal