![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Dragon python import compatibility Topic Summary: Was wondering if you could import python modules using the advanced scripting command feature Created On: 03/15/2023 08:13 PM Status: Post and Reply |
|
![]() |
![]() |
- Hale_on_wheels | - 03/15/2023 08:13 PM |
![]() |
![]() |
- Ag | - 03/24/2023 07:39 PM |
![]() |
![]() |
- kkkwj | - 03/26/2023 07:19 AM |
![]() |
![]() |
- monkey8 | - 05/22/2023 07:15 AM |
![]() |
|
Hi I was wondering if any of you all are familiar with the Python language according to sources on the internet it is compatible with dragons advanced scripting. However, in order to record mouse movements and keystrokes with python a module has to be imported. In this case pyautogui I was wondering if anyone knew if dragon supported the importing of modules like these or not. I could always go back to advanced visual basic but I'm more familiar with python and wanted to see if this was an option. ------------------------- Thank you |
|
|
|
![]() |
|
I have done a lot of Python programming, have experimented with the Python packages that run "in the same process" or synchronously with Dragon, and was quite interested in doing the sort of mouse and keyboard logger thing that you are talking about with Python. ------------------------- DPG15.6 (also DPI 15.3) + KB, Sennheiser MB Pro 1 UC ML, BTD 800 dongle, Windows 10 Pro, MS Surface Book 3, Intel Core i7-1065G7 CPU @ 1.3/1.5GHz (4 cores, 8 logical, GPU=NVIDIA Quadro RTX 3000 with Max-Q Design. |
|
|
|
![]() |
|
If you want to work in Python, have a look at Talon. It has its own recognizer, can use Dragon as a recognizer, is lightning fast (when not using Dragon), and the python part seems rock solid. I have never had Talon hang on me even once, although I am definitely a lightweight Talon user so far. Talon offers a really nice blend of the best of all worlds - fast recognition with the Talon recognizer in command mode, Dragon-quality free-form dictation, and a very solid Talon/Python implementation. Oh, and Talon is multiplatform and runs on Unix and Macs too. Probably the weakest part of the whole Talon system is the documentation and training - being built on a shoestring blended open-source model, it doesn't have the 25 years of Nuance money behind the documentation and addons.
------------------------- Win10/11/x64, AMD Ryzen 7 3700X/3950X, 64/128GB RAM, Dragon 15.3, SP 7 Standard, SpeechStart, Office 365, KB 2017, Dragon Capture, Samson Meteor USB Desk Mic, Amazon YUWAKAYI headset, Klim and JUKSTG earbuds with microphones, excellent Sareville Wireless Mono Headset, 3 BenQ 2560x1440 monitors, Microsoft Sculpt Keyboard and Logitech G502 awesome gaming mouse. |
|
|
|
![]() |
|
I don't know where you got the information that Python was compatible with WinWrap Basic(Dragon Advanced Scripting) because it isn't really. Looking at the possibilities CPython is a non-starter because it binds heavily to the executable which means that once a module is loaded, it is loaded forever. The only way to use CPython is to access it in another process so that the scope of module can be controlled by unloading the process. The PythonNET implementation looks like it has possibilities but it is difficult to integrate seamlessly into WinWrap Basic, furthermore Dragon Advanced Scripting does not allow for the .NET module implementation available with WinWrap Basic. I did add the .NET module to previous versions of KnowBrainer but that is no longer licensed.
https://github.com/pythonnet/pythonnet
You need to look at NatLink. Details all over the forum. ------------------------- |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.