KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Problem with the heardword command
Topic Summary:
Created On: 05/25/2022 08:12 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 Problem with the heardword command   - wheels496 - 05/25/2022 08:12 AM  
 Problem with the heardword command   - GarethR - 05/25/2022 12:42 PM  
 Problem with the heardword command   - wheels496 - 05/25/2022 02:54 PM  
 Problem with the heardword command   - wheels496 - 06/08/2022 05:46 AM  
 Problem with the heardword command   - Edgar - 06/08/2022 10:14 AM  
 Problem with the heardword command   - wheels496 - 06/08/2022 10:44 AM  
 Problem with the heardword command   - Alan Cantor - 06/08/2022 12:25 PM  
 Problem with the heardword command   - wheels496 - 06/08/2022 02:56 PM  
 Problem with the heardword command   - Alan Cantor - 06/08/2022 07:43 PM  
 Problem with the heardword command   - wheels496 - 06/09/2022 05:14 AM  
 Problem with the heardword command   - Alan Cantor - 06/09/2022 07:19 AM  
 Problem with the heardword command   - wheels496 - 06/09/2022 07:30 AM  
 Problem with the heardword command   - Alan Cantor - 06/09/2022 12:17 PM  
 Problem with the heardword command   - R. Wilke - 06/09/2022 02:14 PM  
 Problem with the heardword command   - wheels496 - 06/15/2022 04:27 AM  
 Problem with the heardword command   - Mav - 06/15/2022 06:19 AM  
 Problem with the heardword command   - wheels496 - 06/15/2022 07:02 AM  
 Problem with the heardword command   - Mav - 06/15/2022 09:29 AM  
 Problem with the heardword command   - Alan Cantor - 06/15/2022 09:25 AM  
Keyword
 06/15/2022 04:27 AM
User is offline View Users Profile Print this message


wheels496
Advanced Member

Posts: 180
Joined: 10/01/2008

Okay can anybody help me explain or solve the strange behaviour? So as I mentioned in my last post my macro was working, well until Monday afternoon.

The issue now is the first couple of commands:-
SendKeys "^{escape}"
Wait 0.2
SendKeys "management studio"

Now before Monday afternoon, this would highlight the program "management studio" (so I could open file location and then run the shortcut as a different user). Then, after I reboot on Monday afternoon, my PC now shows web results, instead of application results? Initially I wondered if my organisation had implemented a change in policy, which is causing this behaviour but none of my colleagues are experiencing this.

Worse still, if I type "management studio" into the search box, it works (although when I type the "d" it does temporarily switch to web results) but when Dragon types "management studio" it gets web results first!

I did google it and found a fix but it only resolved the problem for one minute and then reverted back to the behaviour which I do not want.

Any ideas?

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

DPI 15.6.1

 06/15/2022 06:19 AM
User is offline View Users Profile Print this message

Author Icon
Mav
Top-Tier Member

Posts: 539
Joined: 10/02/2008

I think it would be more robust not to rely on Windows choosing between web search and locally installed applications.

If you want a voice command to start an application, you can use the WScript.Shell object for this:

Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Run "cmd.exe"

In case the executable is not found, you have to add its directory to your PATH (or give the full path and not just the executable).

 

hth

mav

 

KnowBrainer Speech Recognition » Dragon Speech Recognition » Problem with the heardword command

Statistics
32359 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 569 guests browsing this forum, which makes a total of 569 users using this forum.

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