Windows Player Won't Play What Plays On Mac

Iden Rosenthal iden at idenrosenthal.com
Mon Apr 10 13:03:18 EDT 2006


Changing the traversalon of the button now enabled the first sentence  
of the text to be hilighted and it does read the words now but the  
second and third sentences won't highlight as they do on the Mac. Any  
ideas?


On Apr 9, 2006, at 5:41 PM, Iden Rosenthal wrote:

> I have a one field one card stack with three sentences of text. I  
> want to highlight each sentence (well ideally each word as it is  
> read but that I am leaving for right now) as it is read. What I  
> have written works fine on the Mac using the Player for Mac. It  
> doesn't play on the Windows player. In an earlier incarnation of  
> this stack I was just selecting the text to be read. That version  
> read the text aloud in Windows but it didn't select any of the text  
> except the last sentence. Now when I am trying to set the  
> foregroundColor of the text to be read the Windows player not only  
> doesn't set the color, it doesn't even read the text.
>
> Is there a good reference for how to write for the Windows player,  
> i.e. what works and what doesn't?
>
> on mouseUp
>   put fld "maintext" into theText
>   set the itemDelimiter to "."
>   repeat with k = 1 to the number of items in theText
>     put item k of theText into theSentence
>     set the foregroundColor of item k of fld "maintext" to blue
>     try
>       revspeak theSentence
>     catch theError
>       beep
>     end try
>     wait until revIsSpeaking() is false
>     set foregroundColor of item k of fld "maintext" to black
>   end repeat
>
>   set the itemDelimiter to ","
> end mouseUp
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>




More information about the use-livecode mailing list