I was hoping to make this simple (use Word) instead of making a VB project.
I have "text to speak" implemented with just a few lines of code.
The primary loop for speaking (after Text selection) is:
Using Words Macro recorder, I can move from word to word using:Code:Do DoEvents Loop Until speech.WaitUntilDone(10)
I would like each word to be highlighted or underlined as each word is read.Code:Selection.MoveRight Unit:=wdWord, Count:=3
This will require the old word to be un-highlighted or un-underlined so that the
current word being read is emphasized.
Not sure whether placing a counter is the Do/Loop will somehow allow word to reference where (which word is being read) the cursor is at in the document.
===============================
Anyone have any ideas??
Thanks
David




Reply With Quote