home bbs files messages ]

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,001 of 42,547   
   Herbert Kleebauer to Andy Burnelli   
   Re: requst for easy to implement spell c   
   10 Feb 22 11:56:01   
   
   XPost: alt.comp.os.windows-10, alt.usage.english   
   From: klee@unibwm.de   
      
   On 10.02.2022 00:06, Andy Burnelli wrote:   
      
   > Note I don't have screenshots of my extensive tests of Herbert's kind and   
   > very detailed and conscientious help, as I couldn't get it to work yet.   
   > I spent_hours_  on his detailed suggestions, but alas, I'm not a good coder.   
      
   Just save the code below in a file called "spell.bat" in the same   
   directory where you have stored your "spell.txt" file containing   
   the list of words. Then start spell.bat, either be a double click   
   in explorer or open a cmd window, "cd" to this directory and   
   type spell.bat. Then just wait a few seconds until the reading   
   starts. But it only works in 64 bit Windows because there   
   seems to be no 32 bit version of the Microsoft screen reader.   
      
   @echo off   
   if [%1]==[] goto :l1   
   for /f %%i in (spell.txt) do (   
      echo %%i   
      timeout /t 4 >nul)   
   exit   
      
   :l1   
   set p=   
   if exist %windir%\SysNative\cmd.exe set p=%windir%\SysNative\cmd.exe /c start   
   ""   
   start "" %p% /min %windir%\system32\narrator.exe   
   timeout /t 4 >nul   
   start "" "%~f0" xxx   
   exit   
      
      
      
   As an alternative you can start the Microsoft screen reader manually   
   by using the hotkey >CTRL> and then only use   
   the first part of the above code to feed every 4 seconds   
   a word from spell.txt to the screen reader.   
      
   @echo off   
   for /f %%i in (spell.txt) do (   
      echo %%i   
      timeout /t 4 >nul)   
      
   --- 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