Thanks, David, for the helpful comments!
davidfox@@fas.harvard.edu writes:
> I am afraid I cannot comment on the rest of your questions, since I have
> not use the macro capabilities of NaturallySpeaking Deluxe very much
> yet, and have not tried to add macros except with the annoying new
> command Wizard. However, from what I can tell the macro capabilities of
> NaturallySpeaking Deluxe are almost as powerful as those of
> DragonDictate. The most important things omitted from the
> NaturallySpeaking macro language are groups and listen from group and
> SetHomeGroup commands used to switch manually between them. This is
> extraordinarily annoying.
I didn't realize that--thanks for the tip. I think the lack of groups
is enough to put me _severely_ off using macros in Nat. I have five or
so UNIX applications I use constantly, and to get reasonable recognition
it's essential to segment the vocabularies between them.
> However, some other capabilities can be
> duplicated by making use of the one new feature of the NaturallySpeaking
> Deluxe macro language, the fact that you can define macros which are
> only active when a particular string is contained in the window title.
> If you want to try to use NaturallySpeaking for Unix, I would certainly
> recommend an X Windows emulator or a Telnet program which allows you to
> change the window title either from the Windows end or the Unix end. I
> use Hummingbird eXceed as an X Windows emulator at work, and a shareware
> Telnet program called NetTerm at home which has control sequences for
> setting the window title from the Unix end, and a menu option for
> setting it from the Windows end.
Interesting. I have always been fond of a2x (the classic ASCII to
X-event translator of Bob Schiefler, head of the ex-X Consortium) since
it's very flexible, and I had some early compatibility troubles with DD
and X software for the PC.
Is it true that Nat cannot recognize Windows menus? I assumed the
answer was NO, but then I used the Wizard to add a command to control
Wintop. Suddenly, I could say every menu item for that application.
(Including menus for which I had NOT created macros). Very odd.
>
> If you find out any more information about manually adding macros to
> NaturallySpeaking, or if you end up writing a conversion utility, I
> would be extremely interesting in hearing more.
I use an interpreted language called WinBatch (www.windowware.com/)
which is a sort of truncated PERL for Windows. It looked to me as if
writing a WinBatch script to automate this irritating Wizard would be
pretty easy. I have already written a program in this language to
automate the maintenance of various vocabularies [emacs, MATLAB, etc]
under DragonDictate. If anyone wants this, please mail me; you'll also
need the interpreter, which is about $100 I think.
Translation of DragonDictate macros to the code used in GLOBAL.DVC by
Nat looks a bit harder, mainly because I cannot find any documentation
on the language used. That said, doing simple things like emitting
characters is easy. The script language is roughly the same as in
DragonDictate, but the language in which the mapping between an
utterance and a script is defined is undocumented [although perusing the
file gives you some idea].
Chris
![]() |