Solved

Dragon NaturallySpeaking voice command to activate a particular window or application

Posted on 2013-11-20
3
309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: 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

In my office we had 10 Cisco 7940G IP phones that were useless as they were showing PROTOCOL APPLICATION INVALID when started. I searched through Google and worked for a week continuously on those phones, and finally got them working. This is a di…
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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

734 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