Solved

Dragon NaturallySpeaking voice command to activate a particular window or application

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Article by: user_n
How Sip Phone (User Agent) works and communicates with sip servers 1.  There is a sip server and a sip registrar.  The sip server and sip registrar can be one server or two different servers. The sip registrar is the server on which it is record…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

14 Experts available now in Live!

Get 1:1 Help Now