KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Command Works on One Computer, but not another
Topic Summary:
Created On: 12/22/2022 06:53 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 Command Works on One Computer, but not another   - NPatton - 12/22/2022 06:53 AM  
 Command Works on One Computer, but not another   - Matt_Chambers - 12/22/2022 08:19 AM  
 Command Works on One Computer, but not another   - wristofdoom - 12/23/2022 01:09 PM  
 Command Works on One Computer, but not another   - NPatton - 01/12/2023 01:43 PM  
 Command Works on One Computer, but not another   - Lunis Orcutt - 01/12/2023 03:51 PM  
 Command Works on One Computer, but not another   - R. Wilke - 01/12/2023 09:33 PM  
Keyword
 12/22/2022 06:53 AM
User is offline View Users Profile Print this message

Author Icon
NPatton
New Member

Posts: 4
Joined: 12/05/2021

I have the following custom command on two separate computers. On the computer where I created it, the command works perfectly. The computer where I imported my profile and all commands has never recognized it, although every other custom command is recognized and works fine.

 

Looking at the command on the two computers I cannot discern any difference. Both computers running Windows 10 with latest updates and Dragon 15.61.

 

It's a very simple command that formats a citation to Tennessee statutes correctly. I use it all the time. I've never posted a command into a forum, so hopefully this works. 

 

TCA Section <1to255> - <1to255> - <1to255>

'#Language "WWB-COM"

Option Explicit

Sub Main
SendKeys "T.C.A. § " & ListVar1 & "-" & ListVar2 & "-" & ListVar3
End Sub

Any clues as to what I can do to make it work? Thanks in advance. 



 12/22/2022 08:19 AM
User is offline View Users Profile Print this message

Author Icon
Matt_Chambers
Top-Tier Member

Posts: 686
Joined: 08/09/2018

Very strange problem.

1. Have you tried deleting the command on the non-working system and then adding it back in?

2. Does the name of the command really have hyphens in it, or is that just the way you put it on the forum? That is, do you say, for example, "TCA Section 12 66 66" or
"TCA Section 12-66-66"?
 12/23/2022 01:09 PM
User is offline View Users Profile Print this message

Author Icon
wristofdoom
Top-Tier Member

Posts: 346
Joined: 09/03/2020

I would try modifying the command name by removing all the "-" from the name and see if it works. When you say this outloud are you saying "TCA section 1 dash 2 dash 3" ? If yes, could you replace "-" with "dash" and see if it changes anything?

I would try modifying the SendKeys line by removing the funky legal symbol and seeing if it works then. Maybe they 2 computers are using different encoding system.

EG, try just doing `SendKeys "T.C.A. " & ListVar1 & "-" & ListVar2 & "-" & ListVar3` and see if that works

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

Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017.

 01/12/2023 01:43 PM
User is offline View Users Profile Print this message

Author Icon
NPatton
New Member

Posts: 4
Joined: 12/05/2021

Thanks for the help guys.

As an example, I am speaking "tee cee ayy hyphen 5 hyphen 1 hyphen 134." The desired output is "T.C.A. ยง 5-1-134."

This works perfectly on one computer, and my other computer ignores it. I'm even using the same microphone on both.

I will try deleting and adding back in. Of my 5 custom commands, impressive I know, this is the only one that does not work on both computers.
 01/12/2023 03:51 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 40525
Joined: 10/01/2006

We assume this is an Advanced-Scripting command which includes a List that you would have defined in your other computer but perhaps not your new computer. Another option would be to copy your user profile from the computer that works to the computer that doesn't work. If you're using Ver. 15.61 your user folder is located at %LOCALAPPDATA%\Nuance\NS15\Users\ which you can copy from here and paste into Windows Search field.



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

Change "No" to "Know" w/KnowBrainer 2022
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ex 1



 01/12/2023 09:33 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 8018
Joined: 03/04/2007

Defining a command including a list which doesn't exist is not possible, and if you exported the command on one computer and import it on another computer (user profile), it will take the list with it.

I would assume that the issue is with how you actually "speak" the command. Going by how you refer to the definition in your first post, it doesn't match the way you describe speaking it in your last post.

I just created the following command:

Command name: TCA Section <1-10> <1-10> <1-10>

Script: SendKeys "T.C.A. § " & ListVar1 & "-" & ListVar2 & "-" & ListVar3

Now, when I speak "TCA section 1 3 5", this is what I get:

T.C.A. § 1-3-5

Do note that I do not speak the hyphens, as they are already included in the script and not present in the command name, which makes it also a lot more convenient to deploy.



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



No need to buy if all you want to do is try ...

DragonCapture KB Download (Latest)
DragonCapture Homepage



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

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