KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Simple script, part 2
Topic Summary: The original message does not have a reply option!
Created On: 06/11/2021 03:48 PM
Status: Post and Reply
Linear : Threading : Single : Branch
Keyword
 06/11/2021 03:48 PM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 4532
Joined: 12/08/2007

I had a script which did the following in Dragon Pad:

 

Select all

Copy that

Close window (meaning the Dragon Pad window)

Click No when prompted to save.

 

Unfortunately, I accidentally overwrote this file. I know it’s very simple code for people to know how to do it. Could someone possibly help?

 

Also, how do I backup the scripts I write so this doesn’t happen again? Thanks.

 

 

Maybe something like this?

 

SendSystemKeys "{Ctrl+a}"

SendSystemKeys "{Ctrl+c}"

SendSystemKeys "{Alt+F4}"

Wait 0.3

SendSystemKeys "n"

 06/11/2021 04:06 PM
User is offline View Users Profile Print this message

Author Icon
Tomc
Junior Member

Posts: 38
Joined: 10/14/2019

It works fine. Thanks very much.
 06/12/2021 09:30 AM
User is offline View Users Profile Print this message

Author Icon
Edgar
Top-Tier Member

Posts: 1375
Joined: 04/03/2009

As for backing up your Dragon® commands…

Say "show command browser".

The Dragon® Command Browser dialog will open, if the Task Pane is not open…

Say "task pane", pause briefly and then "manage".

Make sure that the "Group" combo box (near the top left of the dialog) is set to "All" or set it to some specific group if preferred. Now, check all the boxes that apply to what you are wanting to back up (hint: immediately to the left of each checkbox is a "+" (plus sign), when clicked it will expose all the individual commands for the specific applicant, you do not have to export everything).

Say "export".

A save file dialog will open (location defaulting to your "Documents" folder) with the name text field active and ready for you to dictate the name of your exported commands.

Say the name you wish the export to be saved under.

Optionally, in the "Save as type" combo box, set the type to XML…

Say "press alternate tango" or possibly "press alt tango", pause briefly and then say "press alternate down" or possibly "press alt down", again pause briefly and then say "press down" followed by "press enter".

To reactivate the "File name" text entry field…

Say "press alternate November" or possibly "press alt November" followed by saying the name you wish the export to be saved under; followed by "click save".

Of the two options for save type (DAT and XML) only XML can be read by humans in a text editor.



-------------------------

-Edgar
DPI 15.3, 64-bit Windows 10 Pro, OpenOffice & Office 365, Norton Security, Shure X2U XLR to USB mic adapter with Audio Technica DB135 vocal mic, Asus X299-Deluxe Prime, Intel Core i9-7940X (14 core, 4.3 GHz overclocked to 4.9 GHz), G.SKILL TridentZ Series 64GB (4 x 16GB) DDR4 3333 (PC4 26600) F4-3333C16Q-64GTZ, NVIDIA GIGABYTE GeForce GTX 1060 GV-N1060G1 GAMING-6GD REV 2.0 6GB graphics card with 3 1920x1080 monitors

KnowBrainer Speech Recognition » Commands, Scripts, and Macros - Dragon » Simple script, part 2

Statistics
32529 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 375 guests browsing this forum, which makes a total of 375 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.