Trigger an AppleScript on Speech Input?

Hey,

Is there any way to pass the system speech input to populate a variable, or whatever, that could trigger
an AppleScript? I’d like to get the text from the speech input to my home automation app, Indigo,
to process.

Thanks,

Carl

Hello.

Have a look at this nice article: MacScripter / Talkin’ The Talk with Apple’s Speech Tools

Thanks, great stuff.

Carl