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:
However, 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.
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:
Unfortunately, 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.