![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Choose via Heardword not working Topic Summary: Created On: 12/15/2020 03:31 PM Status: Post and Reply |
|
![]() |
![]() |
- Anders | - 12/15/2020 03:31 PM |
![]() |
![]() |
- Edgar | - 12/15/2020 04:04 PM |
![]() |
![]() |
- Anders | - 12/15/2020 04:23 PM |
![]() |
![]() |
- alexander | - 12/18/2020 08:31 PM |
![]() |
![]() |
- Anders | - 12/18/2020 10:56 PM |
![]() |
![]() |
- mdl | - 12/21/2020 02:37 PM |
![]() |
![]() |
- Anders | - 12/21/2020 03:08 PM |
![]() |
|
I want to create a Vocola command that does the equivalent of "Button", "Choose 7". "Button" works just fine: Add Time = HeardWord( 'Button'); But when I added Choose Seven: Add Time = HeardWord( 'Button') Wait(100) HeardWord( Choose, 7); It recognized Button, but not Choose 7.
So, I split it into 2 commands, one to click the button, the other to do the choose seven: Make it happen = HeardWord( Choose, 7); Still didn't work. So I create a few new commands to try different versions of choose seven: Make apples = HeardWord( 'Choose',7); Make strawberry = HeardWord( 'Choose', '7'); Make blueberry = HeardWord( 'Choose', 'Seven'); Make peaches = HeardWord(Choose, Seven); None of them worked either.
Any idea what I'm doing wrong? Thanks, Anders |
|
|
|
![]() |
|
Make peaches = HeardWord(Choose, Seven); I don't use Vocola so this is a shot in the dark… Dragon and KnowBrainer have slightly different allowable HeardWord options but for Dragon you would normally use: the syntax documentation is here: https://www.nuance.com/products/help/dragon/dragon-for-pc/scriptref/Content/scrptref/heardword.htm ------------------------- -Edgar |
|
|
|
![]() |
|
Just tried using:
Make peaches = HeardWord("Choose", " Seven") And no joy. Just to make sure that the problem wasn't some weird issue with the website I was using it on, I tried using Google, and it still didn't work. |
|
|
|
![]() |
|
what is the use case, is it possible for you to send keyboard shortcut keys instead? have you tried increasing the wait time? unfortunately HeardWord in my experience is reasonably unreliable.
|
|
|
|
![]() |
|
Nope, there aren't any shortcut keys. And I'm pretty sure it isn't a wait time issue. I figured it might be, which is why I split it into 2 commands. No matter how much time between saying click a button and saying choose 7, it's still not recognizing the choose command. Ditto for the experiment with Google above
|
|
|
|
![]() |
|
Heardword("choose seven") might work I suppose -- look at what shows up in the Dragon recognition history after you've done it successfully.
this is still gonna be pretty brittle regardless because the number of buttons might change. if you're trying to make a voice command to activate a particular button on a webpage, you're likely much better off with click by voice's click by CSS selector functionality. |
|
|
|
![]() |
|
Ooo, didn't know click by voice could do that. Thanks so much!
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.