Help on 'Send Message' Event

Help each other out

Help on 'Send Message' Event

Postby rbziggy on Sat Apr 16, 2005 4:01 pm

I'm trying out the Send Message (OS) event but don't think I know what I'm really doing here.

To explain... I have a Text To Speach program that runs as part of my HA setup that I'd like to be able to send a text string to. It will then speak the string out over the speakers. I beleive this program has a 'general' DDE/COM interface although documentation is sparse to say the least.

I was guessing that the Operating System Send Message command might let me do this but I don't understand what I need to put in the fields:

Class Name - what goes here?
Window Name - what goes here?
Message - Presumably my text string
wParam - Do I need this?
IParam - DO I need this?

I've played aroung using the programme process name ('ace-tts.exe') in both class and window name fields but no joy at all.

If anyone could explain I'd be most grateful!

Thanks
rbziggy
 
Posts: 124
Joined: Mon Mar 21, 2005 11:49 pm
Location: UK

Postby badubo on Sat Apr 16, 2005 4:27 pm

SendMessage can only send 'short' information (2 * 32 bits integers).

So, between process you cannot send text string

Also, SendMessage doesn't rely on COM/DDE interfaces.

Most commercial TTS systems use SAPI (4 or 5) interfaces. I think that girder has a module for such interfaces. Maybe you can send your text to girder and let girder do the rest
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby rbziggy on Sun Apr 17, 2005 11:15 pm

Thanks for the explanation. Looks like this was a bit of a dead end. I'll look for another way.
rbziggy
 
Posts: 124
Joined: Mon Mar 21, 2005 11:49 pm
Location: UK