KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Capture an Open MenuBar
Topic Summary:
Created On: 07/23/2022 02:15 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Capture an Open MenuBar   - Robert Snow - 07/23/2022 02:15 PM  
 Capture an Open MenuBar   - Lunis Orcutt - 07/23/2022 03:33 PM  
 Capture an Open MenuBar   - Alan Cantor - 07/24/2022 12:23 PM  
 Capture an Open MenuBar   - Robert Snow - 07/27/2022 05:44 PM  
 Capture an Open MenuBar   - Alan Cantor - 07/28/2022 11:38 AM  
 Capture an Open MenuBar   - Robert Snow - 07/29/2022 02:21 PM  
 Capture an Open MenuBar   - R. Wilke - 07/29/2022 09:16 PM  
 Capture an Open MenuBar   - Robert Snow - 07/30/2022 03:42 AM  
 Capture an Open MenuBar   - Robert Snow - 07/30/2022 03:50 AM  
 Capture an Open MenuBar   - Lunis Orcutt - 07/30/2022 01:50 PM  
 Capture an Open MenuBar   - Robert Snow - 07/31/2022 04:07 PM  
 Capture an Open MenuBar   - Lunis Orcutt - 07/31/2022 05:16 PM  
 Capture an Open MenuBar   - Robert Snow - 08/18/2022 02:28 PM  
 Capture an Open MenuBar   - Lunis Orcutt - 08/18/2022 02:38 PM  
 Capture an Open MenuBar   - dilligence - 08/18/2022 09:09 PM  
 Capture an Open MenuBar   - R. Wilke - 07/30/2022 04:38 AM  
Keyword
 07/23/2022 02:15 PM
User is offline View Users Profile Print this message

Author Icon
Robert Snow
Top-Tier Member

Posts: 231
Joined: 04/18/2017

I'm using 15.61 classic menu bar. My Dragon MenuBar is open most of the time so it's a matter of being able to grab hold of the MenuBar and start a sendkeys, my guess. What I'm trying to do is set up a macro that well do the following:

1. Grab a hold of a MenuBar

2. Execute Tools (ALT+T)

3. Command Browser (ALT+B)

4. New (ALT+N)

 I know I will be using the send key command but the problem is how to grab hold of the MenuBar so I can use my ALT+T to get started.

 I just got to the Chapter 2 of Dragon Pro - A Step Further so I'm still a bit in the basics.

 

Bob



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

Robert Snow
Germantown, WI

 07/23/2022 03:33 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 40113
Joined: 10/01/2006

If you are using DPI in the default hotkey settings, you can use {NumKey*} to select the Dragon bar



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

Change "No" to "Know" w/KnowBrainer 2020
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ex 1



 07/24/2022 12:23 PM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 4382
Joined: 12/08/2007

This code brings up the Command Browser without activating the DragonBar.

Sub Main
Dim engine As New DgnEngineControl, n As Long
engine.DlgShow(dgndlgCommandBrowser, n,, 0)
End Sub
 07/27/2022 05:44 PM
User is offline View Users Profile Print this message

Author Icon
Robert Snow
Top-Tier Member

Posts: 231
Joined: 04/18/2017

How does that go? A hot knife and butter. It's better than perfect.

Thanks.

Bob

PS Any chance on me knowing what it is actually doing. Keep in mind I'm stll only in chapter 2 of Drasgon Pro A Step Further.



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

Robert Snow
Germantown, WI



 07/28/2022 11:38 AM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 4382
Joined: 12/08/2007

When you interact with Dragon using your voice, or via the keyboard/mouse, you're doing things from the outside to the inside. But when you use a script, you're going in the opposite direction: from inside Dragon's "guts" to the outside.

This script communicates directly with Dragon's "innards" to instruct Dragon to display the Command Browser.
 07/29/2022 02:21 PM
User is offline View Users Profile Print this message

Author Icon
Robert Snow
Top-Tier Member

Posts: 231
Joined: 04/18/2017

Thanks for the help. It does open up to my Command Browser-MyCommands. So it this point I wanted to send the following Keys, to get to the New Command window.:

ALT+C+N

My attempt:

Sub Main
Dim engine As New DgnEngineControl, n As Long
engine.DlgShow(dgndlgCommandBrowser, n,, 0)
SendKeys "ALT+C+N"
End Sub

My bet is I'm not even close.

Bob



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

Robert Snow
Germantown, WI



 07/29/2022 09:16 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 7898
Joined: 03/04/2007

Have you heard about the difference between giving a man a fish and teaching him to fish? You might as well answer most of your questions by looking up the documentation, also referred to as "Help", which comes by means of buttons almost in any place, not to mention Larry Allen's scripting guide, which you really should read first before starting with scripting. Buy it from Lunis. Today, I don't have a fish to share with you.

Copying code without understanding it doesn't help, and the syntax you are using for SendKeys is wrong all over.

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



No need to buy if all you want to do is try ...

DragonCapture KB Download (Latest)
DragonCapture Homepage

 07/30/2022 03:42 AM
User is offline View Users Profile Print this message

Author Icon
Robert Snow
Top-Tier Member

Posts: 231
Joined: 04/18/2017

 

Thank you for the help. Most of my day is spent on reading rewriting and trying to understand help topics. One of the main sources for me right now is  Dragon Pro A Step Futher, which I find very helpful. Also the following:

  • I also spent a fair amount of time with Dragon help system.
  • Dragon Speach Tips - My source of A Step Further.
  • What is Programing Language? Hackr.io
  • WinWrap® Basic Documentation
And a few others. What I learn here is only part of my day. What I learn here I try to pick apart to unbderstand.
If I was 50 or 60 I would have plentry of time to learn. But time is not always on my side. Sometimes I ask for what you would see as a simple question but not so for me. 
I might ask for some thing as simple as SendDragonKeys "{Alt}",04. For you that don't even take a thought. For me it's rersearch. 
My skills are OneNote DeskTop. I'm developing a system that seniors that have the shakes will be as comfortable as a 20 year old.
I know you have been there in the past for me. I just dont want anyone to think I'm looking for a hand out. 
I'm still with Dragon only becouse of this forum. I was ion the past with MacroX.
Bob
Thanks for past help.

 

 

 



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

Robert Snow
Germantown, WI



 07/30/2022 03:50 AM
User is offline View Users Profile Print this message

Author Icon
Robert Snow
Top-Tier Member

Posts: 231
Joined: 04/18/2017

>>Larry Allen's scripting guide<<

Where can I get the book. Amazon has version 11.What is the most resent?

Bob



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

Robert Snow
Germantown, WI

 07/30/2022 01:50 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 40113
Joined: 10/01/2006

Thanks Rüdiger: Larry Allen's Scripting for Dragon which is now a download



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

Change "No" to "Know" w/KnowBrainer 2020
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ex 1

 07/31/2022 04:07 PM
User is offline View Users Profile Print this message

Author Icon
Robert Snow
Top-Tier Member

Posts: 231
Joined: 04/18/2017

Is therea way to see if I have all readypurchased it?

Roberety Snow

Amerifax



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

Robert Snow
Germantown, WI

 07/31/2022 05:16 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 40113
Joined: 10/01/2006

Robert,

 

We don't have any records of you purchasing SpeechStart+ or DragonCapture. You purchased DPI 15.61 from another source but we did find a record of you having purchased KnowBrainer 2017 in March. We recommend upgrading to the KnowBrainer 2020 Upgrade. If you check your email, you will find a download to the latest Dragon manual



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

Change "No" to "Know" w/KnowBrainer 2020
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ex 1

 08/18/2022 02:28 PM
User is offline View Users Profile Print this message

Author Icon
Robert Snow
Top-Tier Member

Posts: 231
Joined: 04/18/2017

Where can I read up on it. What is a cost. And how can I get it.

Thank you Lunis.

Bob



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

Robert Snow
Germantown, WI



 08/18/2022 02:38 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 40113
Joined: 10/01/2006

Click What is KnowBrainer. Also note that you will find a 30 day trial of KnowBrainer 2020 in our signature tag



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

Change "No" to "Know" w/KnowBrainer 2020
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ex 1

 08/18/2022 09:09 PM
User is offline View Users Profile Print this message

Author Icon
dilligence
Top-Tier Member

Posts: 1564
Joined: 08/16/2010

Robert,

 

Looks like, at this point your needs are to learn just the bare basics of Dragon® scripting (SendKeys mostly from what I read in this thread).

 

Check out:

 

The Easy Guide to Dragon® Scripting

 

It will get you up and running in the fastest way possible, and it's only $15.



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

https://speechproductivity.eu


Turbocharge your Dragon® productivity with 40 Power Addons



 07/30/2022 04:38 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 7898
Joined: 03/04/2007

Buy from Lunis. There isn't a more recent one, for particular reasons, but the contents still hold true, and the overall teaching approach just can't be beat. It will also serve as a reference very often in the future if you go on doing your own scripting.

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



No need to buy if all you want to do is try ...

DragonCapture KB Download (Latest)
DragonCapture Homepage

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 331 guests browsing this forum, which makes a total of 332 users using this forum.

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