KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Are there voice driven cascading drop-down list ?
Topic Summary:
Created On: 09/12/2020 12:39 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Are there voice driven cascading drop-down list ?   - dicdoc - 09/12/2020 12:39 PM  
 Are there voice driven cascading drop-down list ?   - PG LTU - 09/12/2020 03:42 PM  
 Are there voice driven cascading drop-down list ?   - dicdoc - 09/12/2020 04:47 PM  
 Are there voice driven cascading drop-down list ?   - dicdoc - 09/12/2020 05:26 PM  
 Are there voice driven cascading drop-down list ?   - PG LTU - 09/12/2020 10:07 PM  
 Are there voice driven cascading drop-down list ?   - Mav - 09/14/2020 08:10 AM  
 Are there voice driven cascading drop-down list ?   - Mphillipson - 09/14/2020 11:14 AM  
 Are there voice driven cascading drop-down list ?   - PG LTU - 09/14/2020 03:39 PM  
Keyword
 09/12/2020 12:39 PM
User is offline View Users Profile Print this message

Author Icon
dicdoc
Top-Tier Member

Posts: 268
Joined: 07/31/2014

I'm lookig if there is some cascading drop down list that can be made via KB or Advanced scripting, conceptually like this : https://pivotronics.com/2019/12/30/cascading-or-dependent-drop-down-lists-using-data-validation-tool-in-excel/

But visually more like this : https://w3bits.com/wp-content/uploads/css-dropdown-menu.jpg

 

I happened to find https://docs.microsoft.com/en-us/troubleshoot/aspnet/build-cascading-drop-down-list#:~:text=A%20cascading%20drop%2Ddown%20list%20is%20a%20series%20of%20dependent,user%20from%20another%20DropDownList%20control.

Did anyobody try sth where each menu items could be activated by just saying a number to identifiy it ?

 



-------------------------

Memory: 16GB Microphone Brand and Model: LFH 4000 & Flexy Mike  Operating System: win 10, latest update; Surface Book 2, Processor (CPU) Type & Speed: I7 8650 Soundcard Brand and Model: none Speech Software: Dragon Medical Practice Edition, french version: 4.2 Using KnowBrainer?:Yes

 09/12/2020 03:42 PM
User is offline View Users Profile Print this message

Author Icon
PG LTU
Top-Tier Member

Posts: 2072
Joined: 03/21/2007

In the UserDialog Editor you have four choices: ComboBox, ListBox, DropListBox and MultiListBox.

Then there are the promptvalue menus as described in the Structured Commands Samples which can do

what you want (modify the next level of prompts based on the level selected)

https://www.nuance.com/products/help/dragon/dragon-for-pc/scriptref/Content/mycommands/mycmds_2/structured_commands_samples.htm

Then there is one of my all time faves (and highly recommended), Sean Wenzel's Magic Lists (still

available here:

swMagicLists.bas ' ' Magic Lists - Voice enabled selection lists ...

And you will need the actual commands from the Wayback machine:

https://web.archive.org/web/20100530052342/http://sean.wenzel.net/voicerecognition/macros/magiclists

 


Have fun!



-------------------------




PG





Remember folks, my comments and this forum are for entertainment value only, please, no wagering or other reliance on the contents herein.  I permit no commercial use of my ideas (whether expressions or embodiments) without my written consent.



 09/12/2020 04:47 PM
User is offline View Users Profile Print this message

Author Icon
dicdoc
Top-Tier Member

Posts: 268
Joined: 07/31/2014

thanks so much, I'll look into it.

Any video example sot get started ?

 http://sean.wenzel.net/voicerecognition/macros/ seems dead, I wonder how you got his macros..



-------------------------

Memory: 16GB Microphone Brand and Model: LFH 4000 & Flexy Mike  Operating System: win 10, latest update; Surface Book 2, Processor (CPU) Type & Speed: I7 8650 Soundcard Brand and Model: none Speech Software: Dragon Medical Practice Edition, french version: 4.2 Using KnowBrainer?:Yes

 09/12/2020 05:26 PM
User is offline View Users Profile Print this message

Author Icon
dicdoc
Top-Tier Member

Posts: 268
Joined: 07/31/2014

got a question on line

 

  Set vMenu = VoiceCommand.MenuCreate( "Magic list", "Magic", dgnlangUSEnglish, "", vcmdmc_CREATE_TEMP )  ' errs
in Function dlgMagicListbox
I referenced Dragon Active X. SHould I reference something else ?
Because I got an error message on VoiceCommand, saying it needs a valid data type. I dont understand why
Besides, dgnlangUSEnglish would not work for french, is dgnlangCHFrench something valid ?
Or is it it does not work in Knobrainer ?



-------------------------

Memory: 16GB Microphone Brand and Model: LFH 4000 & Flexy Mike  Operating System: win 10, latest update; Surface Book 2, Processor (CPU) Type & Speed: I7 8650 Soundcard Brand and Model: none Speech Software: Dragon Medical Practice Edition, french version: 4.2 Using KnowBrainer?:Yes



 09/12/2020 10:07 PM
User is offline View Users Profile Print this message

Author Icon
PG LTU
Top-Tier Member

Posts: 2072
Joined: 03/21/2007

Yes there is a problem with VoiceCommands and the WWB implementation appears to lack the data type. Anyone out there use VoiceCommands with vers 15+ ??

-------------------------




PG





Remember folks, my comments and this forum are for entertainment value only, please, no wagering or other reliance on the contents herein.  I permit no commercial use of my ideas (whether expressions or embodiments) without my written consent.

 09/14/2020 08:10 AM
User is offline View Users Profile Print this message

Author Icon
Mav
Advanced Member

Posts: 194
Joined: 10/02/2008

Originally posted by: PG LTU Yes there is a problem with VoiceCommands and the WWB implementation appears to lack the data type. Anyone out there use VoiceCommands with vers 15+ ??

The types are part of the referenced "Dragon NaturallySpeaking ActiveX Controls" type library, but you have to give the enumeration where each value is defined as well:

 

DgnLanguageConstants.dgnlangGerman

instead of

dgnlangGerman

 

and

CREATEFLAGS.vcmdc_CREATE_TEMP

instead of

vcmdc_CREATE_TEMP

 

According to the last sdk documentation, the LangID and Dialect parameter for MenuCreate are unused, so it should make no difference which values you use.

 

Hth,

mav

 09/14/2020 11:14 AM
User is offline View Users Profile Print this message

Author Icon
Mphillipson
Top-Tier Member

Posts: 228
Joined: 09/22/2014

DRAGON ADVANCED SCRIPTING ENGINECONTROL.PROMPTVALUE

There is also the option to use the

EngineControl where you can prompt for a value.

You can also call it again based on an initial selection, thereby drilling down into a hierarchy of options.

https://www.nuance.com/products/help/dragon/dragon-for-pc/scriptref/Content/scrptref/promptvalue_function.htm?Highlight=EngineControl.PromptValue 153



-------------------------

Thanks Mark


 


 


 


Dragon Professional Advanced Scripting/KnowBrainer Scripts
Video Examples of Coding by Voice



 09/14/2020 03:39 PM
User is offline View Users Profile Print this message

Author Icon
PG LTU
Top-Tier Member

Posts: 2072
Joined: 03/21/2007

Thx, Mav, Excellent info, there. You reminded me that all my many commands with vmenu items

have had to be modified to account for what you mention.

One easy example is here, my sample dual dictation boxes, (which is very informative, and I

already made the change in that post, but note, I never did get help with triggering the

accelerators . . .) 

http://www.knowbrainer.com/forums/forum/messageview.cfm?catid=4&threadid=3337

and note, the fix was as simple as commenting out the "As IVMenuAuto" part when dimming

the VMenu in this case.

Mark, I mentioned promptvalue, too. Thx for providing that additional reference (which again

refers back to the structured coding example I mentioned) . . .



-------------------------




PG





Remember folks, my comments and this forum are for entertainment value only, please, no wagering or other reliance on the contents herein.  I permit no commercial use of my ideas (whether expressions or embodiments) without my written consent.



Statistics
31783 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 522 guests browsing this forum, which makes a total of 522 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2020 FuseTalk™ Inc. All rights reserved.