Rose is correct about it being a timing issue (once you use the \Cap
command properly as below).
>
> I tried a slightly different macro and got unusual results:
>
> SendKeys "FINDINGS: "
> Heardword "\Cap"
>
> If I nice and slowly give the macro name, then a nice long pause, then the
> next character gets capitalized as desired. However, if I just give the
> macro name, with a short pause afterwards, then dictate something else, then I
> get the "something else" and then get a random capitalization later in what is
> dictated. I can see the "Cap" come up in the yellow window.
>
> This suggests that there is a timing issue. As-is, this is a significant
> annoyance. As a practical matter, it makes it difficult to suggest use of the
> "\Caps" to end a macro.
>
> Larry Allen
This appears to be a variation of an old bug in DragonDictate, where if
you used HeardWord to invoke a sentence command, you had to pause long
enough for there to be a pause between when DragonDictate processed the
HeardWord command and when you said the next word, not between when you
said the name of the macro containing the HeardWord command and when you
said the next word. In DragonDictate, you could avoid this problem
simply by never using HeardWord to invoke sentence commands. In
NaturallySpeaking, the problem seems to have become more general. I
would suggest that anyone having problems with this contact technical
support, and suggest that the problem the fixed, or least that there be
a work around. (Even just adding back the Capitalize Next and No Space
Next macros from the DragonDictate scripting language would greatly
minimize the impact of this problem. While they're at it, they could
add back the advanced options for spacing and capitalization of words.)
>
> Thanks to help from David, LyndaL and Jeff plus a lot of playing around
> with my system, finally figured out how to capitalize the next spoken
> word from within the context of a script (Nat Deluxe). For instance,
>
> CHART NOTE
>
> HeardWord "Select", "chart", "notes"
> SendKeys "{right 2}"
> SendKeys "{Tab}"
> HeardWord "\Cap"
>
> Works perfectly. It finds the heading, Chart Note:, on a template in
> the Nat Text Editor, moves the cursor where I want it and capitalizes
> the next word I speak. At first, however, it didn't do as I had
> scripted it to - it typed \Cap - I kept changing the spacing, putting /
> or \, etc. Wasn't the problem. The problem was that the Pause Between
> Phrases slider under Tools|Options was set less than at 150 m, moving it
> to the right so that it is now at 200m makes the macro work, every
> time. Why this should be so, I don't know but it works. So, if you try
> adding HeardWord "\Cap" as the last line of a macro and it doesn't work,
> try adjusting your Pause Between Phrases slider. Holland, for your
> medical need to have anything cap after a :, why not make a macro, maybe
> MY COLON :), that would type : and cap the next word spoken.
> Rose
I'm glad you finally got it working. While this is clearly also timing
issue, it sounds like here problems are being caused by an insufficient
pause, which I don't understand.
David Fox
davidfox@@fas.harvard.edu
http://cfa-www.harvard.edu/~dcfox/index.html
--------------------------------------------------
Well, well! It cannot be helped, and it is difficult not to slip in
talking to a dragon, or so I have always heard.
-- Balin, The Hobbit, J. R. R. Tolkien
![]() |