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/08/2022 10:14 AM
User is offline View Users Profile Print this message

Author Icon
Edgar
Top-Tier Member

Posts: 1285
Joined: 04/03/2009

Two thoughts - you need to use the "SendKeys wait" version of the command:
SendKeys "", 1
otherwise your script goes on to the next statement before SendKeys finishes its work.
You are probably right that your logic flow is not actually equal to your statement flow. One thing that I have found is that the delay after (generally) anything involving a combination of text and speech (TTSPlayString, RecognitionMimic, HeardWord etc.) must be a bit longer than the time that it takes to actually physically utter the phrase. "Developer password" takes at least 1 second to utter so the delay after it should be "Wait 1".

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

-Edgar
DPI 15.3, 64-bit Windows 10 Pro, OpenOffice & Office 365, Norton Security, Shure X2U XLR to USB mic adapter with Audio Technica DB135 vocal mic, Asus X299-Deluxe Prime, Intel Core i9-7940X (14 core, 4.3 GHz overclocked to 4.9 GHz), G.SKILL TridentZ Series 64GB (4 x 16GB) DDR4 3333 (PC4 26600) F4-3333C16Q-64GTZ, NVIDIA GIGABYTE GeForce GTX 1060 GV-N1060G1 GAMING-6GD REV 2.0 6GB graphics card with 3 1920x1080 monitors

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 1 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 458 guests browsing this forum, which makes a total of 459 users using this forum.

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