This probably isn't the place for a bug report, but there doesn't seem to be a place to report issues, so here I am.
I'm using hs.Speak with the parameter 'Wait' in a test script and notice that in fact it doesn't. Also appearing not to work is IsSpeakerBusy.
This is my test script
Jun-12 2:41:16 PM TTS Speak: (HOMESEEREFAULT):Hello, and Good Afternoon. There are No appointments in your Calendars. Presently The Outside Temperature is a Cool 53 degrees. Here is the latest forecast, which is 8 Minutes old. Occasional showers possible. Highs in the mid 40s and lows in the mid 20s. Today's High will be 45 degrease and the low is expected to be 26 degrease. This concludes the weather report.
Jun-12 2:41:14 PM *- Test.vb * --> ------------------------ Stop -------------------------------------
Jun-12 2:41:14 PM *- Test.vb * --> -------------------------------------------------------------------------
Jun-12 2:41:14 PM *- Test.vb * --> ----Finishing Test at: 14:41:14
Jun-12 2:41:14 PM *- Test.vb * --> enabling After Speaking
Jun-12 2:41:14 PM *- Test.vb * --> Enabling After Speaking
Jun-12 2:41:14 PM *- Test.vb * --> Finished Speaking
Jun-12 2:41:14 PM *- Test.vb * --> Starting to Speak
Jun-12 2:41:13 PM *- Test.vb * --> Disabling Before Speaking
Jun-12 2:41:12 PM *- Test.vb * --> Disabling After Speaking
Jun-12 2:41:12 PM*- Test.vb * --> Start. Delay is 61000
Jun-12 2:41:12 PM *- Test.vb * -->
Jun-12 2:41:12 PM *- Test.vb * --> ----Starting Test at: 14:41:12
Jun-12 2:41:12 PM *- Test.vb * --> ------------------------ Start -------------------------------------
Jun-12 2:41:12 PM *- Test.vb * --> -------------------------------------------------------------------------
I apologize if this it not the place for this.
I'm using hs.Speak with the parameter 'Wait' in a test script and notice that in fact it doesn't. Also appearing not to work is IsSpeakerBusy.
This is my test script
PHP Code:
hs.WriteLog("Starting to Speak")
hs.Speak(str,TRUE)
hs.Waitsecs(0.05)
Do while hs.IsSpeakerBusy("*:*")
hs.Waitsecs(0.05)
Loop
hs.WriteLog("Finished Speaking")
Jun-12 2:41:16 PM TTS Speak: (HOMESEEREFAULT):Hello, and Good Afternoon. There are No appointments in your Calendars. Presently The Outside Temperature is a Cool 53 degrees. Here is the latest forecast, which is 8 Minutes old. Occasional showers possible. Highs in the mid 40s and lows in the mid 20s. Today's High will be 45 degrease and the low is expected to be 26 degrease. This concludes the weather report.
Jun-12 2:41:14 PM *- Test.vb * --> ------------------------ Stop -------------------------------------
Jun-12 2:41:14 PM *- Test.vb * --> -------------------------------------------------------------------------
Jun-12 2:41:14 PM *- Test.vb * --> ----Finishing Test at: 14:41:14
Jun-12 2:41:14 PM *- Test.vb * --> enabling After Speaking
Jun-12 2:41:14 PM *- Test.vb * --> Enabling After Speaking
Jun-12 2:41:14 PM *- Test.vb * --> Finished Speaking
Jun-12 2:41:14 PM *- Test.vb * --> Starting to Speak
Jun-12 2:41:13 PM *- Test.vb * --> Disabling Before Speaking
Jun-12 2:41:12 PM *- Test.vb * --> Disabling After Speaking
Jun-12 2:41:12 PM*- Test.vb * --> Start. Delay is 61000
Jun-12 2:41:12 PM *- Test.vb * -->
Jun-12 2:41:12 PM *- Test.vb * --> ----Starting Test at: 14:41:12
Jun-12 2:41:12 PM *- Test.vb * --> ------------------------ Start -------------------------------------
Jun-12 2:41:12 PM *- Test.vb * --> -------------------------------------------------------------------------
I apologize if this it not the place for this.
Comment