Hi David, no, you won't need a lot of commands to do this, but it may involve new concepts in programming that you'll have to take some time to get familiar with.
What you need is an event handler. There are many different "events" for you to choose from, which happen just as text is about to be spoken. they're designed just for the purpose you're describing in your script. The "speech" object has the events you'll need, but I'm not sure where you could easily learn about event handlers. maybe the scripting wiki (there's a link to it in the developers section of the gwmicro site). Event handlers are not specific to WE, only the particular events for the "speech" object, so you could look around on the web and find a vbscript tutorial on event handling. hth, Chip ----- Original Message ----- From: David To: Scripting List WE Sent: Tuesday, October 27, 2009 10:33 PM Subject: Speak out text - some directions needed Hi, you scripters! In a script, I want to 'catch' the text, that is to be spoken by the synthesizer. Next, I am going to handle the texst, and finally, send it to the synthesizer, for the user to hear the results. OK, complicated explaination, but let me give you an example, that is well known from WE basic core: What I want to do, is pretty much the same task, as is done in the exception dictionaries in WE. Well, I know how to 'speak out' the final results (with the SPEAK command). And to a certain extend, i know what to do, with the text, before it is spoken out. But, what I need a bit of a hand on, is how to do the 'catching' of the text, before it reaches the synthesizer; that I can do my trick on it. Is there a single command to do this, or do I have to write just close to a thousand instructions, so as to do the catch? :) Thanks for your help. And, btw, I am doing the script in VBS.
