Dragonfly scripts for Dragon NaturallySpeaking
Switch branches/tags
Nothing to show
Clone or download
nirvdrum Fixed handling of the 'dash' special character.
Dragon 14 seems to send an 'en dash' when using 'dash'. We already handle it as a standalone character, but when used as part of a dictation sequence, Dragon controls the character. By the time it reaches us, it's in extended ASCII as 0x96, which breaks dragonfly as dragonfly is expecting UTF-8 strings. The simple fix is to replace the 'en dash' with a hyphen. While not technically the same, this entire project is set up for programmers and it's more than likely the intended behavior.
Latest commit 4a54b00 Oct 5, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
dynamics Converted the Unity grammar to a dynamic grammar, as not everyone use… Oct 4, 2015
lib Fixed handling of the 'dash' special character. Oct 6, 2015
resources/sound Switched some sound files to more Windows friendly files. Jan 2, 2014
.gitattributes WAV files should be treated as binary by git. Oct 3, 2015
.gitignore Ignore BitTorrent Sync files. Oct 4, 2015
README.md Line ending fixes. Oct 3, 2015
__init__.py Added debugging module Jun 30, 2013
_app_console_z.py Fixed remnants from the rename from Console2 to ConsoleZ. Apr 6, 2014
_app_eclipse.py Updated grammars for new aenea layout. Oct 3, 2015
_app_ff_chrome_opera.py Updated grammars for new aenea layout. Oct 3, 2015
_app_hipchat.py Updated grammars for new aenea layout. Oct 3, 2015
_app_hipchat.txt.example Added a new grammar for the native HipChat client. Apr 5, 2014
_app_intellij.py Updated grammars for new aenea layout. Oct 3, 2015
_app_terminator.py Updated grammars for new aenea layout. Oct 3, 2015
_app_visual_studio_2010.py Renamed file Feb 1, 2014
_capistrano.py Cleaning the slate as I prepare for a big Aenea upgrade. Jul 4, 2014
_dynamic_manager.py Added a new context implementation that allows switching between Aene… Apr 11, 2014
_fastmail.py Add a Fastmail grammar. Jan 27, 2014
_generic_edit.py Added a few abbreviations. Jun 30, 2014
_mouse_grid.py Removed error stack trace comment. Apr 19, 2014
_programming_help.py Merge branch 'master' of github.com:poppe1219/dragonfly-scripts Apr 14, 2014
_taskbar.py Increased the number of available tasks. Dec 11, 2013
_winctrl-en.txt Adding basic usage scripts from Jun 29, 2013
_winctrl.py Rearranged and renamed the debug script to load globally. Jul 1, 2013
remote_debugging.py renamed file to stop auto loading. Jan 26, 2014



NO WARRANTY! All code and information in this repository is provided "AS IS". Your use of its content is at your own risk. The author/authors are not liable for any consequences from using it. ALWAYS make sure to keep backups before making any changes!

All code in this repository is licensed under LGPL3, if not explicitly stated otherwise.

Note: There is currently a lot of heavy experimenting going on in this repository, so it is not stable. Some of the information is not updated. Once the repository contents starts to stabilize, I will try to update the information texts.

What is dragonfly-scripts?

This repository contains a collection of Dragonfly Python-scripts, that can be used with Dragon NaturallySpeaking Professional.

What is Dragonfly?
  • A speech recognition framework
  • A Python package, that can be used in conjuction with Natlink and Dragon NaturallySpeaking.
So what's Natlink?

Natlink is an extension to Dragon NaturallySpeaking to allow scripting beyond the Visual Basic Scripts that the speech recognition program normally supports.

Why Dragonfly?

  • It seems to execute much faster than the Visual Basic scripts that Dragon NaturallySpeaking normally supports.
  • I never could get external files working in Visual Basic scripts (in Dragon Naturally Speaking Professional), making it hard to write reusable code.
  • Python, even older versions, trumps Visual Basic scripts any day of the week.

Installing Natlink and Dragonfly

I recommend avoiding 64-bit on any of the packages you install, including Python. Also avoid 64-bit Java, on any applications you want to use when running Dragon naturally speaking. I have experienced problems with Dragon NaturallySpeaking when it comes to 64-bit. Particularly with Eclipse. The problems was caused by the Java virtual machine, that was in 64-bit. The most annoying problem I had, double typing of the first character or loss of the first character, was fixed by installing the Java virtual machine 32-bit version instead.

NOTE: If you have multiple Python versions, make sure you install all packages into the correct python version.

Installing Python 2.7 and Pythonwin

Alternative 1:
Alternative 2:

Installing Natlink:

This site, Unimacro, has a lot of information on the installation and configuration of Natlink. The site is mostly focused on Unimacro and Vocola 2.

You can get Natlink here: Natlink repository

Once Natlink is installed, two configuration utilities will show up in the start menu. One is a command line tool, the other is a GUI tool.

On my windows XP 32-bit machine, when I was following the instructions from the Unimacro site, when I started the "Configure Natlink Via GUI" program, I got several warning messages. However, restarting Dragon NaturallySpeaking (or perhaps just reloading Natlink), then running the configuration program again, solved that issue. I have seen the GUI configuration tool freeze completely on Windows 7 64-bit, but the command line tool worked fine.

Installing Dragonfly:

Python library site: Dragonfly

I used the dragonfly-0.6.5.win32.exe installer. Dragonfly’s installer will install the library in your Python’s local site-packages directory under the dragonfly subdirectory.

NOTE: If you have multiple Python versions, make sure you install all packages into the correct python version.