Solved

Dragon NaturallySpeaking voice command to activate a particular window or application

Posted on 2013-11-20
3
304 Views
Last Modified: 2014-02-28
Hello,

What is the correct syntax or method for writing a Dragon NaturallySpeaking (DNS) command to activate a particular window?

For example, in the application MS OneNote, a new page can be created by pressing Ctrl+n. Thus, assuming OneNote is active at the time, the DNS command shown in the following screenshot accomplishes that:
Fig. 1However, suppose that although OneNote is running, some other application or window is currently active. In that case it seems that a command would first need to be sent to activate OneNote and then the Ctrl+n could be used to create the new page.

Question:
      1) How would you write a DNS command to activate OneNote — or any other app or window?

By the way, I was informed that information related to this question can be found in the DNS help file shown in the following screenshot:
Fig. 2Unfortunately, I am not familiar with the programming language being used. Therefore, I am hopeful that the command for activating a window or application is fairly straightforward and after seeing an example or two, I will be able to apply it in other settings.

Thanks
0
Comment
Question by:Steve_Brady
3 Comments
 
LVL 43

Accepted Solution

by:
Rob earned 500 total points
ID: 39852486
I'm not a DNS programmer but I do understand scripting languages so I'll try to help as it looks like vb syntax.

Did you try just putting AppActivate before the SendSystemKeys call?

E.g.

Sub Main
AppActivate "One Note"
SendSystemKeys "{Ctrl+n}"
End Sub

Open in new window

0
 

Author Closing Comment

by:Steve_Brady
ID: 39896379
Thanks Rob.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VoIP phone fell off the network 2 65
Auto-Dialers 3 70
Changing Domain name for CUCM Cluster 3 199
voice vlan on meraki using 3CX 3 119
Although VoiceOver IP has been around for a while, internet connections have only recently become fast enough to provide good call quality. Now, VoIP has become a real option for businesses looking at ways to improve their business model. In this ar…
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question