![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Creating custom command for alt + tab Topic Summary: Created On: 01/30/2021 04:00 AM Status: Post and Reply |
|
![]() |
![]() |
- Psithyros | - 01/30/2021 04:00 AM |
![]() |
![]() |
- Matt_Chambers | - 01/30/2021 08:58 AM |
![]() |
![]() |
- Lunis Orcutt | - 01/30/2021 12:59 PM |
![]() |
![]() |
- Matt_Chambers | - 01/30/2021 03:47 PM |
![]() |
![]() |
- Psithyros | - 02/02/2021 05:43 AM |
![]() |
![]() |
- Lunis Orcutt | - 02/02/2021 07:32 PM |
![]() |
|
Hi all,
Apologies for this very basic question. I want to create a custom voice command in Dragon for the keystrokes alt+tab (to jump between 2 windows), but I can't create this command as a step-by-step command (because pressing alt+tab switches away from the create command window before the keystroke registers).
Could anyone advise on how to create this command using advanced scripting?
Thanks. |
|
|
|
![]() |
|
It's pretty simple. Just use this line: SendKeys "%{Tab}" In Advanced Scripting syntax, % is used to represent Alt+. More about the specifics of syntax here:
|
|
|
|
![]() |
|
Welcome (See Mission Statement)
Most of the time Matt's command works for us but not always:
Sub Main
We changed this command to a DVC script to make it a little more bulletproof. This can be accomplished by:
1. Opening the Dragon Command Browser 2. Left click on any Dragon <mouse> command 3. Clickthe New Copy menu 4. Type the following script:
SendSystemKeys "{Alt+Tab}" ------------------------- Change "No" to "Know" w/KnowBrainer 2020 |
|
|
|
![]() |
|
Lunis,
I have found that SendKeys works quite reliably in version 15.61 Advanced Scripting, enough so that I don't use SendSystemKeys in any of my commands. Matt |
|
|
|
![]() |
|
Many thanks to you both for your help.
Lunis' DVC solution worked perfectly for me. The Advanced Scripting option didn't work for me - maybe because I'm running version 15.30... Perhaps I should upgrade to 15.61. I've been putting it off for fear that the install might go badly, as I rely on Dragon for my work (because of a disability issue). Thanks again. |
|
|
|
![]() |
|
If you upgrade to Ver. 15.61 you will have Microsoft 365 (2019) support, an improvement fix for the infamous freezing issue and pertaining to this question... the WinWrap Basic scripting engine which we use in KnowBrainer. WinWrap Basic is vastly superior to SAX Basic which should have been retired in 2006. ------------------------- Change "No" to "Know" w/KnowBrainer 2020 |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.