Date: prev next · Thread: first prev next last

On 12/25/2013 6:44 AM, Tom Davies wrote:
Hi :)
Dragon's "Naturally Speaking" is for PC but has been ported to Mac
too.  Are you using Dragon on Windows?  I'm not sure if it makes a
difference but it might help to know if that is X.P., Vista, Win 7 or
Win 8 or Win 8.1
Regards from
Tom :)

sorry, forgot the --telepathy switch. Fwiw the Mac it's called DragonDictate which is the same name they used the old discrete utterance recognition package for DOS back in the 1990s. Nuance is a silly company (the kindest thing you'll ever hear me say about them)

Windows 7 and I'm using vocola + a Python extension. I tried the following bit of code and I was able to bring up a single invocation but on the second call, I get an error message indicating that NaturallySpeaking can't shift window focus to LO. I'm looking into it further but it's possible that it's a bug in NaturallySpeaking.

def task_stamp_history():
    task_history_path = "C:/Users/esj/Documents/companies/esjworks/logbook"

    # does the path exist?
    if not os.path.exists (task_history_path):
        # build the entire path

    task_stamp = "task-history-%m-%Y.txt"
    localtime = time.localtime(time.time())

    task_fn = time.strftime( task_stamp, localtime)
    note_path = os.path.normpath(os.path.join(task_history_path, task_fn))

    if not os.path.isfile(note_path):
        fh = open(note_path, 'w')

    draname = "worklog"
drarg = "C:\Program Files (x86)\LibreOffice 4\program\swriter.exe %s"%note_path
    # drarg = "C:\Program Files (x86)\Win32Pad\win32pad.exe %s"%note_path
    # print "%s %s" % (drarg, task_fn)
call_Dragon('AppBringUp', 'ssis', [draname, drarg, 1, "C:/Users/esj/Documents" ])
    call_Dragon('WaitForWindow', 'ssi', ['*'+task_fn+'*'])
    call_Dragon('SendKeys', 'ss', ['{ctrl+end}'])
    return ""

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.