![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Command to press key combinations multiple times? Topic Summary: Windows Dragon 14 Created On: 04/01/2017 05:11 PM Status: Post and Reply |
|
![]() |
![]() |
- HelpMeWithDragon | - 04/01/2017 05:11 PM |
![]() |
![]() |
- Lunis Orcutt | - 04/01/2017 07:14 PM |
![]() |
![]() |
- Bruce Tjosvold | - 04/03/2017 05:24 PM |
![]() |
![]() |
- xxtraloud | - 02/11/2022 05:31 AM |
![]() |
![]() |
- Lunis Orcutt | - 02/11/2022 02:53 PM |
![]() |
|
When I say "press," and then any of the other key combinations that I can click on Dragon, I want to be able to append an optional "x times" at the end that'll repeat the pressing of the key combinations for that many occurrences. It is possible to do this to modify the press command? For instance, saying "press left arrow 5 times" will do exactly that. |
|
|
|
![]() |
|
KnowBrainer 2017 includes lots of repeating commands like <Up, Down, Left, or Right> <1 to 1000>, <Tab> <1to20>, <Back Tab> <1to20>, <Backspace> <1to20>, <Delete> <1to20>, <Back> <1to20> (left arrow), <Shift+Tab> <1to20>, <Space> <1to20> and <Enter> <1to20> ect... If you don't possess a KnowBrainer 2017 license, you'll find a 30 day trial in our signature tag. Note that because KnowBrainer 2017 and professional versions of Dragon support the same VB Advanced-Scripting scripting language, you can copy as many KnowBrainer commands into DPI 14 as you want. Here's one to get you started and note that you won't have to define the <1to20> list because it's already defined in Dragon. The name of the following command is Enter <1to20>: ------------------------- Change "No" to "Know" w/KnowBrainer 2020 |
|
|
|
![]() |
|
You could create a command using the following as an example. This command will write ?, as many times as the # in the list that you speak.
You could also create a 2nd list that contains the character you want written, rather than the hard coded value of ?.
Loop logic <1_to_99>
Sub Main
The list <1_to_99> would have the following values:
1 2 3 ..... 99
Bruce ------------------------- DPI 15.00.000.076
1 |
|
|
|
![]() |
|
Is there any way to generalize this script so that it can be applied to any custom command? I already have a similar script that applies to specialties, but if I want to apply to a custom command in means I have to code a new command for each key combination.
------------------------- Win 10 - DPI 15 - AT 8 pro + Andrea USB |
|
|
|
![]() |
|
You should be able to add a 2nd list and add
------------------------- Change "No" to "Know" w/KnowBrainer 2020 |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.