![]() |
KnowBrainer Speech Recognition | ![]() |


|
Topic Title: Need help writing command Topic Summary: Want commands which toggle to the first field (variable) as part of the command Created On: 06/28/2012 05:43 PM Status: Post and Reply |
|
![]() |
- Miradorrad | - 06/28/2012 05:43 PM |
![]() |
- monkey8 | - 06/28/2012 05:51 PM |
![]() |
- Larry Allen | - 06/28/2012 07:12 PM |
![]() |
- Miradorrad | - 06/29/2012 04:09 PM |
![]() |
- Lunis Orcutt | - 06/29/2012 08:05 PM |
![]() |
- Larry Allen | - 06/29/2012 11:44 PM |
|
|
|
|
Have a group of Text and Graphics commands. I open the command and fill in the fields many times a day. Naturally, upon opening any one of the Text and Graphics commands I would like the first variable field in the text to be highlighted (selected) 'automatically' the moment the text content of the command opens in dication box. Currently I open the command by voice and then use a mouse hotkey assigned to: Ctrl + Shift + N. What content can I add to each text and graphic command which will automate the Ctrl + Shift + N and toggle the cursor to select the first variable? Ideally this would be in Text and Graphics commands, however if that's not possible, would this require converting them over to Advanced Scripting Commands? ------------------------- Miradorrad |
|
|
|
|
|
|
|
|
You can't do this with text and graphics commands, you need to convert to advanced scripting. ------------------------- |
|
|
|
|
|
|
|
|
I'd do it slightly differently than Lindsay. If I have a Text & Graphics command named "add stuff" then I'd create an Advanced Scripting command called something like "insert stuff". That command would insert the "add stuff" text then go to the next field.
Sub Main HeardWord "add", "stuff" End Sub
If you have more than a few of these and they are consistently named, there are ways to avoid having to create a separate Advanced Scripting command for each Text and Graphics macro. ------------------------- Larry Allen |
|
|
|
|
|
|
|
|
Lindsay and Larry, thanks! ------------------------- Miradorrad |
|
|
|
|
|
|
|
|
You could use your existing commands but you would either have to create a couple hundred arguments in a single Advanced Scripting command or about 200 Advanced Scripting commands that issued HeardWord scripts to your previous commands. Either way you do it, there's probably a lot of work involved but it sounds like it would be worth the effort. This is 1 of those areas where a little on-site virtual support might come in handy but it certainly wouldn't take long. -------------------------
|
|
|
|
|
|
|
|
|
To do this, you'd need a text list of your commands that you wish to treat this way. Then you'd need a word to add to the commands, either before or after your current command names. e.g. if they are currently named: risk liposuction Then after this they would be called something like: next risk liposuction Then you'd need a different form of the command that I posted... probably something like Sub Main Dim engCtrl As New DgnEngineControl Wait .1 End Sub I'd recommend RecognitionMimic because you could use commands with a varying number of words. Both Lindsay and I have tools to capture your existing command names into a file to make this task easier, others have these tools too. ------------------------- Larry Allen |
|
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.