![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Problem with the heardword command Topic Summary: Created On: 05/25/2022 08:12 AM Status: Post and Reply |
|
![]() |
![]() |
- wheels496 | - 05/25/2022 08:12 AM |
![]() |
![]() |
- GarethR | - 05/25/2022 12:42 PM |
![]() |
![]() |
- wheels496 | - 05/25/2022 02:54 PM |
![]() |
![]() |
- wheels496 | - 06/08/2022 05:46 AM |
![]() |
![]() |
- Edgar | - 06/08/2022 10:14 AM |
![]() |
![]() |
- wheels496 | - 06/08/2022 10:44 AM |
![]() |
![]() |
- Alan Cantor | - 06/08/2022 12:25 PM |
![]() |
![]() |
- wheels496 | - 06/08/2022 02:56 PM |
![]() |
![]() |
- Alan Cantor | - 06/08/2022 07:43 PM |
![]() |
![]() |
- wheels496 | - 06/09/2022 05:14 AM |
![]() |
![]() |
- Alan Cantor | - 06/09/2022 07:19 AM |
![]() |
![]() |
- wheels496 | - 06/09/2022 07:30 AM |
![]() |
![]() |
- Alan Cantor | - 06/09/2022 12:17 PM |
![]() |
![]() |
- R. Wilke | - 06/09/2022 02:14 PM |
![]() |
![]() |
- wheels496 | - 06/15/2022 04:27 AM |
![]() |
![]() |
- Mav | - 06/15/2022 06:19 AM |
![]() |
![]() |
- wheels496 | - 06/15/2022 07:02 AM |
![]() |
![]() |
- Mav | - 06/15/2022 09:29 AM |
![]() |
![]() |
- Alan Cantor | - 06/15/2022 09:25 AM |
![]() |
|
The engine control command works but it causes problems... At the end of this message I have pasted the contents of my script. In summary, it does the following:-
click start menu and find the program I am looking for opens the file location for the shortcut hold down the shift key and right click run as different user enter my credentials For my password, I am using the RecognitionMimic command but that appears to mess up the surrounding SendKeys commands. For example, if I end the script with the recognitionmimic command, I can let the command run and then say "Press Enter" to submit my credentials. However, if I include that as a SendKeys command, I end up with the password, in the username box. It's as if the recognitionmimic command alters the logical flow. Any ideas? Thanks '#Language "WWB-COM" Option Explicit ' Script Lindsay Adam 2010 www.pcbyvoice.com ' Declare keyboard events Windows API function Declare Function keybd_event Lib "user32.dll" (ByVal vKey As _ Long, bScan As Long, ByVal Flag As Long, ByVal exInfo As Long) As Long ' declare virtual key constant for the left Windows key, ' control key, shift key and alt key Const VK_LWIN = &h5B Const VK_CTRL = &h11 Const VK_SHIFT = &h10 Const VK_ALT = &h12 Sub Main SendKeys "^{escape}" Wait 0.2 SendKeys "management studio" Wait 0.2 SendKeys "+{F10}" Wait 0.2 SendKeys "{Down}{Down}{Enter}" Wait 0.2 SendKeys "+{Tab}" Wait 0.2 keybd_event(VK_SHIFT,0,0,0) Wait 0.2 SendKeys "+{F10}" Wait 0.2 'SendDragonKeys "{Shift+F10}" Wait 0.2 keybd_event(VK_SHIFT,0,2,0) Wait 0.2 SendKeys "f" Wait 0.2 SendKeys "***{Tab}" Wait 0.2 EngineControl.RecognitionMimic("developer password") Wait 0.2 'SendKeys "{Enter}" End Sub ------------------------- DP 16 |
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.