Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 42,003 of 42,547    |
|    Andy Burnelli to Stan Brown    |
|    Re: requst for easy to implement spell c    |
|    10 Feb 22 17:35:14    |
   
   XPost: alt.comp.os.windows-10, alt.usage.english   
   From: spam@nospam.com   
      
   On Thu, 10 Feb 2022 08:13:03 -0800, Stan Brown wrote:   
      
   > Thanks, Andy, for that recap!   
      
   What came in on another offshoot was this post, which followed up on my   
   first tests (three days ago) of Herbert's very kind & detailed advice.   
      
   (begin copy of post from JJ earlier today)   
    On Thu, 10 Feb 2022 15:06:52 +0700, JJ wrote:   
    > On Mon, 7 Feb 2022 03:44:24 -0000 (UTC), Andy Burnelli wrote:   
    >   
    > @echo off   
    > if [%1]==[] goto :l1   
    > for /f %%i in (spell.txt) do (   
    > echo %%i   
    > timeout /t 4 >nul)   
    > exit   
    >   
    > :l1   
    > start /min %windir%\system32\narrator.exe   
    > timeout /t 4 >nul   
    > start "" "%~f0" xxx   
    > exit   
    >   
    > The use model is to feed the tool a text file with one word per line.   
    > The tool would speak the word and give the user time to write it down.   
    > Somehow the user would check if he spelled it right (visually?)   
    > Then the tool would move on to the next spoken word in the file.   
      
    Windows built in TTS can be automated using at least VBScript.   
    It can be combined with a batch file if you're not familiar with VBScript.   
      
    @echo off   
    setlocal   
    set tf="%temp%\speak.vbs"   
    echo createobject("sapi.spvoice").speak wsh.arguments(0)>%tf%   
    for /f "delims=" %%i in (spell.txt) do (   
    echo %%i   
    cscript //nologo %tf% "%%i"   
    )   
    del %tf%   
    timeout 2 >nul   
    exit   
      
   (end copy of post from JJ today)   
      
   --   
   Every post to Usenet should strive to be a team sport value addition.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca