Solved

Dragon NaturallySpeaking voice command to activate a particular window or application

Posted on 2013-11-20
3
293 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 42

Accepted Solution

by:
Rob Jurd, EE MVE 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now