16
Command Builder Reference / TTS {LastResult} vs OSD {LastResult}
« on: February 18, 2014, 12:12:54 PM »
So I have my command to turn lights on, off, dim, bright etc. and have the OSD set to use {LastResult} so that I can get confirmation of my command but when I add TTS.Speak for {LastResult} I get the last media file played or other last result rather than the lighting command I just issued. Does the TTS.Speak interpret LastResult differently than OSD?
I realize there are probably a dozen ways I could work around this, just curious to get to the bottom of it. Should I use a different option than {LastResult} or set it to a Var first then have TTS read the Var back? Have already tried a VC.Pause in case it was all just happening too quickly. XML is attached here, any input would be appreciated, and I did rummage the forum first but if I missed a similar post please point me to it.
Thanks!
Sean
I realize there are probably a dozen ways I could work around this, just curious to get to the bottom of it. Should I use a different option than {LastResult} or set it to a Var first then have TTS read the Var back? Have already tried a VC.Pause in case it was all just happening too quickly. XML is attached here, any input would be appreciated, and I did rummage the forum first but if I missed a similar post please point me to it.
Thanks!
Sean